mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-14 16:07:39 +00:00
GRAPHICS: MACGUI: Allow selection to be drawn on inactive text
Hilite can select text on an inactive text field
This commit is contained in:
parent
eee17da97a
commit
8ac995cf8a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user