diff --git a/js/ui/slider.js b/js/ui/slider.js index 6653898b0..4f60556ae 100644 --- a/js/ui/slider.js +++ b/js/ui/slider.js @@ -140,7 +140,7 @@ export const Slider = GObject.registerClass({ let direction = event.get_scroll_direction(); let delta; - if (event.is_pointer_emulated()) + if (event.get_flags() & Clutter.EventFlags.POINTER_EMULATED) return Clutter.EVENT_PROPAGATE; if (direction == Clutter.ScrollDirection.DOWN) {