GRAPHICS: MACGUI: Fix displaying two line text selections

This commit is contained in:
Eugene Sandulenko 2017-08-04 08:06:08 +02:00
parent 1241ada63a
commit 2aac665a2b

View file

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