Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
prevent scroll beyond last line (#2497)
Browse files Browse the repository at this point in the history
Co-authored-by: liuzhe <[email protected]>
  • Loading branch information
liuzhe-lz and liuzhe authored Jun 5, 2020
1 parent a77c56d commit 5fcf78d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/webui/src/static/const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ const CONTROLTYPE = [
];
const MONACO = {
readOnly: true,
automaticLayout: true
automaticLayout: true,
scrollBeyondLastLine: false,
};
const DRAWEROPTION = {
minimap: { enabled: false },
Expand Down

0 comments on commit 5fcf78d

Please sign in to comment.