mirror of https://github.com/status-im/codimd.git
Fix sync scroll not handle properly on area resize
This commit is contained in:
parent
adb3666d13
commit
ef5524be91
|
@ -112,8 +112,8 @@ md.use(markdownitContainer, 'danger', { render: renderContainer });
|
||||||
// FIXME: expose syncscroll to window
|
// FIXME: expose syncscroll to window
|
||||||
window.syncscroll = true;
|
window.syncscroll = true;
|
||||||
|
|
||||||
var preventSyncScrollToEdit = false;
|
window.preventSyncScrollToEdit = false;
|
||||||
var preventSyncScrollToView = false;
|
window.preventSyncScrollToView = false;
|
||||||
|
|
||||||
var editScrollThrottle = 5;
|
var editScrollThrottle = 5;
|
||||||
var viewScrollThrottle = 5;
|
var viewScrollThrottle = 5;
|
||||||
|
|
Loading…
Reference in New Issue