mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-25 04:01:03 +00:00
GRAPHICS: MACGUI: Do not draw selection on non-active MacText
This commit is contained in:
parent
8b6b724726
commit
575d79b1d4
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user