mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-19 07:17:11 +09:00
Fix scrolling bug
This commit is contained in:
@@ -160,7 +160,7 @@ class View {
|
||||
}
|
||||
|
||||
if (cursor.y > topline + height-1) {
|
||||
topline = cursor.y - height-1;
|
||||
topline = cursor.y - height+1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user