Skip to content

Commit

Permalink
GRAPHICS: MACGUI: Added hack for fixing cursor position in MacTextWindow
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Aug 1, 2017
1 parent c2944fb commit 94a0ead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphics/macgui/mactextwindow.cpp
Expand Up @@ -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);

Expand Down

0 comments on commit 94a0ead

Please sign in to comment.