From 4613f965caa9b42abe8535c20fbca6a1384f4d92 Mon Sep 17 00:00:00 2001 From: uhf7 Date: Tue, 11 Aug 2020 20:26:42 +1000 Subject: Backport: Bug [#2193]. Fixed bug where hovered indicator was not returning to non-hover when mouse over selection. Backport of changeset 8477:5d056f2f3fc5. --- src/Editor.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/Editor.cxx b/src/Editor.cxx index dbdfa4d0a..4256bb817 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -4880,6 +4880,7 @@ void Editor::ButtonMoveWithModifiers(Point pt, unsigned int, int modifiers) { // Display regular (drag) cursor over selection if (PointInSelection(pt) && !SelectionEmpty()) { DisplayCursor(Window::cursorArrow); + SetHoverIndicatorPosition(Sci::invalidPosition); } else { SetHoverIndicatorPoint(pt); if (PointIsHotspot(pt)) { -- cgit v1.2.3