fix #1825 editor created with showGutter=false cannot later show gutters
This commit is contained in:
parent
45311cda45
commit
306e918920
1 changed files with 1 additions and 0 deletions
|
|
@ -1623,6 +1623,7 @@ config.defineOptions(VirtualRenderer.prototype, "renderer", {
|
||||||
showGutter: {
|
showGutter: {
|
||||||
set: function(show){
|
set: function(show){
|
||||||
this.$gutter.style.display = show ? "block" : "none";
|
this.$gutter.style.display = show ? "block" : "none";
|
||||||
|
this.$loop.schedule(this.CHANGE_FULL);
|
||||||
this.onGutterResize();
|
this.onGutterResize();
|
||||||
},
|
},
|
||||||
initialValue: true
|
initialValue: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue