From b2848951007b0667a258aaaea7b4d84a06bdeb83 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 3 Aug 2017 23:38:08 +0200 Subject: GRAPHICS: MACGUI: Leave text highlight after selection is made --- graphics/macgui/mactextwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics/macgui/mactextwindow.cpp') diff --git a/graphics/macgui/mactextwindow.cpp b/graphics/macgui/mactextwindow.cpp index 6b46b05c8d..c55d24a317 100644 --- a/graphics/macgui/mactextwindow.cpp +++ b/graphics/macgui/mactextwindow.cpp @@ -143,7 +143,7 @@ bool MacTextWindow::draw(ManagedSurface *g, bool forceRedraw) { if (_cursorState) _composeSurface.blitFrom(*_cursorSurface, *_cursorRect, Common::Point(_cursorX + kConWOverlap, _cursorY + kConHOverlap)); - if (_inTextSelection) + if (_selectedText.endY != -1) drawSelection(); _composeSurface.transBlitFrom(_borderSurface, kColorGreen); -- cgit v1.2.3