GRAPHICS: MACGUI: Do not draw selection on non-active MacText

This commit is contained in:
Eugene Sandulenko 2020-07-19 15:42:47 +02:00
parent 8b6b724726
commit 575d79b1d4

View File

@ -884,7 +884,7 @@ bool MacText::draw(bool forceRedraw) {
if (_cursorState)
_composeSurface->blitFrom(*_cursorSurface, *_cursorRect, Common::Point(_cursorX, _cursorY + offset.y + 1));
if (_selectedText.endY != -1)
if (_selectedText.endY != -1 && _active)
drawSelection();
return true;