better defaults in demo
This commit is contained in:
parent
c72357c201
commit
a97d104e25
2 changed files with 3 additions and 2 deletions
|
|
@ -481,6 +481,7 @@ bindCheckbox("show_hscroll", function(checked) {
|
|||
env.editor.renderer.setHScrollBarAlwaysVisible(checked);
|
||||
});
|
||||
|
||||
env.editor.setAnimatedScroll(true);
|
||||
bindCheckbox("animate_scroll", function(checked) {
|
||||
env.editor.setAnimatedScroll(checked);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -101,8 +101,8 @@ var VirtualRenderer = function(container, theme) {
|
|||
this.$cursorPadding = 8;
|
||||
|
||||
// Indicates whether the horizontal scrollbar is visible
|
||||
this.$horizScroll = true;
|
||||
this.$horizScrollAlwaysVisible = true;
|
||||
this.$horizScroll = false;
|
||||
this.$horizScrollAlwaysVisible = false;
|
||||
|
||||
this.$animatedScroll = false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue