diff options
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 17cabd065..efb360331 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -4843,7 +4843,7 @@ void Editor::ButtonMoveWithModifiers(Point pt, unsigned int, int modifiers) { // Autoscroll const Sci::Line lineMove = DisplayFromPosition(movePos.Position()); - if (pt.y > rcClient.bottom) { + if (pt.y >= rcClient.bottom) { ScrollTo(lineMove - LinesOnScreen() + 1); Redraw(); } else if (pt.y < rcClient.top) { |