changeset 4850:79af5cf2bf70

RT-32584 : Indeterminate ProgressIndicator's spin property ignored for first play
author mickf
date Fri, 30 Aug 2013 15:42:58 +0100
parents 0339d4004e85
children 16d1fc60bd6a
files modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ProgressIndicatorSkin.java
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ProgressIndicatorSkin.java	Fri Aug 30 15:41:07 2013 +0100
+++ b/modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ProgressIndicatorSkin.java	Fri Aug 30 15:42:58 2013 +0100
@@ -569,7 +569,9 @@
                             }
                         }));
             }
+            indeterminateTimeline.stop();
             indeterminateTimeline.getKeyFrames().setAll(keyFrames);
+            indeterminateTimeline.playFromStart();
         }
 
         private void pauseIndicator(boolean pause) {