changeset 5486:87a605e50354

RT-27898 : [Touch] ScrollBars disappear too quickly, reviewed by David
author mickf
date Tue, 22 Oct 2013 17:20:59 +0100
parents 5980afe89a4c
children fbccbf6e7e8a
files modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ScrollPaneSkin.java modules/controls/src/main/java/com/sun/javafx/scene/control/skin/VirtualFlow.java
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ScrollPaneSkin.java	Tue Oct 22 17:17:13 2013 +0100
+++ b/modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ScrollPaneSkin.java	Tue Oct 22 17:20:59 2013 +0100
@@ -1088,7 +1088,7 @@
                 }
             });
 
-            sbTouchKF2 = new KeyFrame(Duration.millis(500), new EventHandler<ActionEvent>() {
+            sbTouchKF2 = new KeyFrame(Duration.millis(1000), new EventHandler<ActionEvent>() {
                 @Override public void handle(ActionEvent event) {
                     tempVisibility = false;
                     getSkinnable().requestLayout();
--- a/modules/controls/src/main/java/com/sun/javafx/scene/control/skin/VirtualFlow.java	Tue Oct 22 17:17:13 2013 +0100
+++ b/modules/controls/src/main/java/com/sun/javafx/scene/control/skin/VirtualFlow.java	Tue Oct 22 17:20:59 2013 +0100
@@ -2613,7 +2613,7 @@
                 }
             });
 
-            sbTouchKF2 = new KeyFrame(Duration.millis(500), new EventHandler<ActionEvent>() {
+            sbTouchKF2 = new KeyFrame(Duration.millis(1000), new EventHandler<ActionEvent>() {
                 @Override public void handle(ActionEvent event) {
                     if (touchDetected == false && mouseDown == false) {
                         tempVisibility = false;