GRAPHICS: MACGUI: Allow selection to be drawn on inactive text

Hilite can select text on an inactive text field
This commit is contained in:
djsrv 2021-06-09 15:30:28 -04:00
parent eee17da97a
commit 8ac995cf8a

View File

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