GRAPHICS: MACGUI: Correctly display last selection line

This commit is contained in:
Eugene Sandulenko 2017-08-07 11:59:32 +02:00
parent 6e690dbca9
commit abf6abdb65

View File

@ -195,7 +195,7 @@ void MacTextWindow::drawSelection() {
numLines = _mactext->getLineHeight(s.startRow);
x1 = s.startX;
}
if (y + _scrollPos > lastLineStart) {
if (y + _scrollPos >= lastLineStart) {
numLines = _mactext->getLineHeight(s.endRow);
x2 = s.endX;
}