@b4n commented on this pull request.


In src/editor.c:

>  		sci_scroll_columns(editor->sci, amount);
 		return TRUE;
 	}
+	else if (!event->state || (editor_prefs.scrollwheel_zoom_disable && (event->state & GDK_CONTROL_MASK)))

It's also to filter out uninteresting modifiers like NumLock.

For removing, you could try event->state &= ~GDK_CONTROL_MASK;, or if inside the if (event->state & GDK_CONTOL_MASK), just event->state ^= GDK_CONTROL_MASK;.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/3835/review/1999499054@github.com>