mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-31 13:09:27 +08:00
1 parent
4962955a40
commit
e54203b7f4
2 files changed
+3
No files matched your search
@@ -13086,6 +13086,7 @@ function showError(err, empty = !state.doc) {
|
||||
|
||||
function setBusy(busy, text = "", percent = 0, status = "", tab = documentTab()) {
|
||||
const operation = operationRequest(tab);
|
||||
if (!busy && operation) tab.preparationBusy = true;
|
||||
busy ||= Boolean(tab.editTask || operation);
|
||||
if (operation?.preparing && operation.progress) ({text, percent} = operation.progress);
|
||||
const resumeSearch = tab.busy && !busy && tab.state.searchPaused;
|
||||
|
||||
Reference in new issue
Block a user