Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
5fcf78dd
Unverified
Commit
5fcf78dd
authored
Jun 05, 2020
by
liuzhe-lz
Committed by
GitHub
Jun 05, 2020
Browse files
prevent scroll beyond last line (#2497)
Co-authored-by:
liuzhe
<
zhe.liu@microsoft.com
>
parent
a77c56dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/webui/src/static/const.ts
src/webui/src/static/const.ts
+2
-1
No files found.
src/webui/src/static/const.ts
View file @
5fcf78dd
...
@@ -25,7 +25,8 @@ const CONTROLTYPE = [
...
@@ -25,7 +25,8 @@ const CONTROLTYPE = [
];
];
const
MONACO
=
{
const
MONACO
=
{
readOnly
:
true
,
readOnly
:
true
,
automaticLayout
:
true
automaticLayout
:
true
,
scrollBeyondLastLine
:
false
,
};
};
const
DRAWEROPTION
=
{
const
DRAWEROPTION
=
{
minimap
:
{
enabled
:
false
},
minimap
:
{
enabled
:
false
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment