This commit is contained in:
杜恒 2021-06-01 13:10:38 +08:00
parent 31e15ebf06
commit 4f621b2591
4 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -274,7 +274,7 @@ body.fullscreen {
top: 0; top: 0;
width: 0; width: 0;
height: 3px; height: 3px;
background-color: #ff5627; background-color: #61afef;
transition: width 0.5s; transition: width 0.5s;
z-index: 1; z-index: 1;
} }

File diff suppressed because one or more lines are too long

View File

@ -60,7 +60,7 @@ class Joe extends JoeAction {
if (_temp !== update.state.doc.toString()) { if (_temp !== update.state.doc.toString()) {
_temp = update.state.doc.toString(); _temp = update.state.doc.toString();
clearTimeout(_debounce); clearTimeout(_debounce);
_debounce = setTimeout(createPreviewHtml.bind(null, update.state.doc.toString()), 150); _debounce = setTimeout(createPreviewHtml.bind(null, update.state.doc.toString()), 180);
} }
}), }),
EditorView.domEventHandlers({ EditorView.domEventHandlers({