aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNathaniel Braun <unknown>2026-01-10 09:14:23 +1100
committerNathaniel Braun <unknown>2026-01-10 09:14:23 +1100
commit58d4a329fe7cad43a664028f39fb0b1260ccf5b8 (patch)
treee53f413ff507a7662b6f10ff807e1a583fc5ad9e /src
parent56c071e2734e3812c7c77b611637cbc2698eb7d3 (diff)
downloadscintilla-mirror-58d4a329fe7cad43a664028f39fb0b1260ccf5b8.tar.gz
Feature [feature-requests:#184]. Small optimization.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
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 {