Fixed tool tutorials preventing user to draw under them even when hidden

This commit is contained in:
Nicola 2022-02-05 18:35:51 +01:00
parent 7b6a67ac32
commit 40299853ca
1 changed files with 2 additions and 0 deletions

View File

@ -62,10 +62,12 @@ class Tool {
else {
this.toolTutorial.style.top = this.mainButton.getBoundingClientRect().top - 48 + "px";
}
this.toolTutorial.style.display = "inline-block";
this.toolTutorial.className = "fade-in";
}
hideTutorial() {
this.toolTutorial.className = "fade-out";
setTimeout(function(){this.toolTutorial.style.display = "none"}.bind(this), 200);
}
resetTutorial() {