Workaround foldGutter not showing on first view
This commit is contained in:
parent
b87463ae0d
commit
db956cc298
1 changed files with 3 additions and 0 deletions
|
@ -659,6 +659,9 @@ function changeMode(type) {
|
||||||
addStatusBar();
|
addStatusBar();
|
||||||
updateStatusBar();
|
updateStatusBar();
|
||||||
}
|
}
|
||||||
|
//work around foldGutter might not init properly
|
||||||
|
editor.setOption('foldGutter', false);
|
||||||
|
editor.setOption('foldGutter', true);
|
||||||
} else {
|
} else {
|
||||||
ui.toolbar.uploadImage.fadeOut();
|
ui.toolbar.uploadImage.fadeOut();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue