From 9028761821fa0174fd2019b75241b65218ab1ad0 Mon Sep 17 00:00:00 2001 From: n1474335 Date: Wed, 20 Sep 2017 00:48:37 +0100 Subject: [PATCH] Loading message fade and cancelBake bugfix --- src/web/ControlsWaiter.js | 2 +- src/web/stylesheets/layout/_io.css | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/web/ControlsWaiter.js b/src/web/ControlsWaiter.js index 89c55b8db..d7241e120 100755 --- a/src/web/ControlsWaiter.js +++ b/src/web/ControlsWaiter.js @@ -81,7 +81,7 @@ ControlsWaiter.prototype.bakeClick = function() { if (document.getElementById("bake").textContent.indexOf("Bake") > 0) { this.app.bake(); } else { - this.app.cancelBake(); + this.manager.worker.cancelBake(); } }; diff --git a/src/web/stylesheets/layout/_io.css b/src/web/stylesheets/layout/_io.css index 89cdcdce9..997af92ed 100644 --- a/src/web/stylesheets/layout/_io.css +++ b/src/web/stylesheets/layout/_io.css @@ -72,7 +72,7 @@ margin: 0; background-color: var(--primary-background-colour); visibility: hidden; - opacity: 0; + opacity: 0; transition: all 0.5s ease; } @@ -117,4 +117,6 @@ line-height: var(--primary-line-height); color: var(--primary-font-colour); top: 50%; + + transition: all 0.5s ease; }