From 58d4a329fe7cad43a664028f39fb0b1260ccf5b8 Mon Sep 17 00:00:00 2001 From: Nathaniel Braun Date: Sat, 10 Jan 2026 09:14:23 +1100 Subject: Feature [feature-requests:#184]. Small optimization. --- src/Editor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Editor.cxx b/src/Editor.cxx index a2c3e0fe9..37e0a2736 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -5140,7 +5140,7 @@ void Editor::ButtonMoveWithModifiers(Point pt, unsigned int, KeyMod modifiers) { } } // Display regular (drag) cursor over selection - if (PointInSelection(pt) && !SelectionEmpty() && dragDropEnabled) { + if (dragDropEnabled && PointInSelection(pt) && !SelectionEmpty()) { DisplayCursor(Window::Cursor::arrow); SetHoverIndicatorPosition(Sci::invalidPosition); } else { -- cgit v1.2.3