Change tab element height using stylesheet.

Debounce bake button function changes.
This commit is contained in:
j433866 2019-07-03 13:52:56 +01:00
parent a7eefa88fa
commit 6d95cb01c8
4 changed files with 24 additions and 25 deletions

View file

@ -281,7 +281,7 @@ class WorkerWaiter {
*/
setBakingStatus(bakingStatus) {
this.app.baking = bakingStatus;
this.manager.controls.toggleBakeButtonFunction(bakingStatus ? "cancel" : "bake");
this.app.debounce(this.manager.controls.toggleBakeButtonFunction, 20, "toggleBakeButton", this, [bakingStatus ? "cancel" : "bake"])();
if (bakingStatus) this.manager.output.hideMagicButton();
}