Move tab logic into a new TabWaiter
This commit is contained in:
1 parent
98af95a6ce
commit
c2087f6d5f
10 files changed
+523
-462
No files matched your search
@@ -72,7 +72,7 @@ class ControlsWaiter {
|
||||
if (this.app.baking) return;
|
||||
// Reset status using cancelBake
|
||||
this.manager.worker.cancelBake(true, false);
|
||||
const activeTab = this.manager.input.getActiveTab();
|
||||
const activeTab = this.manager.tabs.getActiveInputTab();
|
||||
let progress = 0;
|
||||
if (this.manager.output.outputs[activeTab].progress !== false) {
|
||||
progress = this.manager.output.outputs[activeTab].progress;
|
||||
|
||||
Reference in new issue
Block a user