changeset 1092:afd6ff987c7f

RT-21641: fixed Node.impl_hasTransforms().
author Pavel Safrata
date Fri, 18 May 2012 12:51:15 +0200
parents 45a06f0a889f
children f5158988671f
files javafx-ui-common/src/javafx/scene/Node.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-ui-common/src/javafx/scene/Node.java	Thu May 17 17:03:15 2012 -0700
+++ b/javafx-ui-common/src/javafx/scene/Node.java	Fri May 18 12:51:15 2012 +0200
@@ -4820,7 +4820,7 @@
         }
 
         public boolean hasTransforms() {
-            return (transforms != null);
+            return (transforms != null && !transforms.isEmpty());
         }
 
         public boolean hasScaleOrRotate() {