diff options
| author | Eugene Sandulenko | 2017-07-31 19:20:26 +0200 |
|---|---|---|
| committer | Eugene Sandulenko | 2017-08-01 10:42:22 +0200 |
| commit | 94a0eadd308dd6cc21dd6102886fcf767df37c66 (patch) | |
| tree | c82765791f55e711507e6f0c58039a55976d6a5f | |
| parent | c2944fb5b8912b2d1c1e9207116f249efa46b5ac (diff) | |
| download | scummvm-rg350-94a0eadd308dd6cc21dd6102886fcf767df37c66.tar.gz scummvm-rg350-94a0eadd308dd6cc21dd6102886fcf767df37c66.tar.bz2 scummvm-rg350-94a0eadd308dd6cc21dd6102886fcf767df37c66.zip | |
GRAPHICS: MACGUI: Added hack for fixing cursor position in MacTextWindow
| -rw-r--r-- | graphics/macgui/mactextwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/macgui/mactextwindow.cpp b/graphics/macgui/mactextwindow.cpp index cf2702ae0a..3bb626b3e4 100644 --- a/graphics/macgui/mactextwindow.cpp +++ b/graphics/macgui/mactextwindow.cpp @@ -109,7 +109,7 @@ bool MacTextWindow::draw(ManagedSurface *g, bool forceRedraw) { _composeSurface.blitFrom(_surface, Common::Rect(0, 0, _surface.w - 2, _surface.h - 2), Common::Point(2, 2)); if (_cursorState) - _composeSurface.blitFrom(*_cursorSurface, *_cursorRect, Common::Point(_cursorX, _cursorY)); + _composeSurface.blitFrom(*_cursorSurface, *_cursorRect, Common::Point(_cursorX + 20, _cursorY + 20)); _composeSurface.transBlitFrom(_borderSurface, kColorGreen); |
