From 94c367b1e39fa4cf99e32975fd45360aa15e0ab4 Mon Sep 17 00:00:00 2001 From: Jeremy Wootten Date: Sat, 26 Oct 2024 16:21:35 +0100 Subject: [PATCH] Test is frozen first --- src/View/AbstractDirectoryView.vala | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/View/AbstractDirectoryView.vala b/src/View/AbstractDirectoryView.vala index afc33b73d..58a86d2a2 100644 --- a/src/View/AbstractDirectoryView.vala +++ b/src/View/AbstractDirectoryView.vala @@ -3194,13 +3194,12 @@ namespace Files { } protected virtual void on_scroll_event (double dx, double dy) { - Gdk.ModifierType state; - Gtk.get_current_event_state (out state); - if (is_frozen) { return; } + Gdk.ModifierType state; + Gtk.get_current_event_state (out state); if ((state & Gdk.ModifierType.CONTROL_MASK) > 0) { /* try to emulate a normal scrolling event by summing deltas. * step size of 0.5 chosen to match sensitivity */