mirror of
https://github.com/status-im/codimd.git
synced 2025-02-24 22:28:09 +00:00
Workaround foldGutter not showing on first view
This commit is contained in:
parent
b87463ae0d
commit
db956cc298
@ -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…
x
Reference in New Issue
Block a user