A hack to avoid scrolling when not moving the cursor.

wilder
Matan Ziv-Av 4 years ago committed by Tomaz Canabrava
parent 9a608fe431
commit 77de29bedd
  1. 2
      src/Screen.cpp

@ -1849,7 +1849,7 @@ int Screen::addPlacement(QPixmap pixmap,
addPlacement(p);
int needScroll = qBound(0, row + rows - _lines + 1, rows);
if (scrolling && needScroll > moveCursor) {
if (moveCursor && scrolling && needScroll > moveCursor) {
scrollUp(needScroll - moveCursor);
}
if (moveCursor) {

Loading…
Cancel
Save