Moving left and right needs a full redraw.

This commit is contained in:
Hisham 2016-06-19 18:05:18 -03:00
parent adcc944e35
commit b139671cbd
1 changed files with 2 additions and 0 deletions

View File

@ -439,10 +439,12 @@ bool Panel_onKey(Panel* this, int key) {
case KEY_CTRL('A'):
case '^':
this->scrollH = 0;
this->needsRedraw = true;
break;
case KEY_CTRL('E'):
case '$':
this->scrollH = MAX(this->selectedLen - this->w, 0);
this->needsRedraw = true;
break;
default:
return false;