diff options
author | Eugene Sandulenko | 2017-07-31 20:50:36 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-08-01 10:42:22 +0200 |
commit | 8319e4093fe204743736ae7bac28f810b9034533 (patch) | |
tree | 7f8b1ed9f3a458aead73ebb0119daa03460b23f5 /graphics | |
parent | 2c0b73aaeff80d715b1dbb979ff720005d8b9ed2 (diff) | |
download | scummvm-rg350-8319e4093fe204743736ae7bac28f810b9034533.tar.gz scummvm-rg350-8319e4093fe204743736ae7bac28f810b9034533.tar.bz2 scummvm-rg350-8319e4093fe204743736ae7bac28f810b9034533.zip |
GRAPHICS: MACGUI: Force redraw of dirty part of MacTextWindow
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/macgui/mactextwindow.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/macgui/mactextwindow.cpp b/graphics/macgui/mactextwindow.cpp index d57fdf8415..fb2b167de6 100644 --- a/graphics/macgui/mactextwindow.cpp +++ b/graphics/macgui/mactextwindow.cpp @@ -186,6 +186,8 @@ void MacTextWindow::drawInput() { _cursorX = _inputText.empty() ? 0 : _fontRef->getStringWidth(text[_inputTextHeight - 1]); updateCursorPos(); + + _contentIsDirty = true; } void MacTextWindow::clearInput() { @@ -211,6 +213,8 @@ void MacTextWindow::updateCursorPos() { _cursorY = _mactext->getTextHeight() - kCursorHeight * 2; else _cursorY = _mactext->getTextHeight() - kCursorHeight; + + _cursorDirty = true; } void MacTextWindow::undrawCursor() { |