mirror of https://gitlab.com/basile.b/dexed.git
fix, scrollCentered inverted
This commit is contained in:
parent
0c5b0b101e
commit
9b58fe161e
|
@ -2151,7 +2151,7 @@ end;
|
|||
procedure TDexedMemo.scrollCentered(down: boolean);
|
||||
begin
|
||||
centerCursor();
|
||||
if down then
|
||||
if not down then
|
||||
begin
|
||||
ExecuteCommand(ecScrollDown, #0, nil);
|
||||
CaretY := CaretY - 1;
|
||||
|
|
Loading…
Reference in New Issue