diff --git a/kit/src/main/java/com/oracle/javafx/scenebuilder/kit/util/control/paintpicker/colorpicker/ColorPicker.java b/kit/src/main/java/com/oracle/javafx/scenebuilder/kit/util/control/paintpicker/colorpicker/ColorPicker.java index 2c7d27852..e1c9304d1 100644 --- a/kit/src/main/java/com/oracle/javafx/scenebuilder/kit/util/control/paintpicker/colorpicker/ColorPicker.java +++ b/kit/src/main/java/com/oracle/javafx/scenebuilder/kit/util/control/paintpicker/colorpicker/ColorPicker.java @@ -257,7 +257,7 @@ private void initialize() { hue_slider.pressedProperty().addListener(liveUpdateListener); alpha_slider.pressedProperty().addListener(liveUpdateListener); - // Fix ColorPicker movement on focus. Now blocks scroll and key events (Home, End, PgUp, PgDn, arrows) to keep it static. For issue #654. + // Disable ColorPicker movement on focus, by blocking scroll and key (Home, End, PgUp, PgDn, arrows) events picker_scrollpane.addEventFilter(KeyEvent.ANY, Event::consume); picker_scrollpane.addEventFilter(ScrollEvent.SCROLL, Event::consume);