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. --- win32/ScintillaWin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32') diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 17f686c21..f59a5e28e 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -1754,7 +1754,7 @@ Window::Cursor ScintillaWin::ContextCursor(Point pt) { // Display regular (drag) cursor over selection if (PointInSelMargin(pt)) { return GetMarginCursor(pt); - } else if (!SelectionEmpty() && PointInSelection(pt) && dragDropEnabled) { + } else if (dragDropEnabled && !SelectionEmpty() && PointInSelection(pt)) { return Window::Cursor::arrow; } else if (PointIsHotspot(pt)) { return Window::Cursor::hand; -- cgit v1.2.3