Skip to content

Commit

Permalink
WAGE: Further fixes to cursor position
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Jan 4, 2016
1 parent 5cffbed commit e7eb7ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/wage/gui.cpp
Expand Up @@ -430,10 +430,10 @@ void Gui::flowText(String &str) {
int pos = _scrollPos;
_scrollPos = MAX<int>(0, (_lines.size() - _consoleNumLines) * _consoleLineHeight);

_cursorX = kConHPadding;
_cursorX = kConWPadding;

if (_scrollPos)
_cursorY = (_consoleNumLines + 1) * _consoleLineHeight + kConHPadding;
_cursorY = (_consoleNumLines) * _consoleLineHeight + kConHPadding;
else
_cursorY = (_lines.size()) * _consoleLineHeight + kConHPadding;

Expand Down

0 comments on commit e7eb7ff

Please sign in to comment.