Fixed tool tutorials preventing user to draw under them even when hidden
This commit is contained in:
parent
7b6a67ac32
commit
40299853ca
|
@ -62,10 +62,12 @@ class Tool {
|
||||||
else {
|
else {
|
||||||
this.toolTutorial.style.top = this.mainButton.getBoundingClientRect().top - 48 + "px";
|
this.toolTutorial.style.top = this.mainButton.getBoundingClientRect().top - 48 + "px";
|
||||||
}
|
}
|
||||||
|
this.toolTutorial.style.display = "inline-block";
|
||||||
this.toolTutorial.className = "fade-in";
|
this.toolTutorial.className = "fade-in";
|
||||||
}
|
}
|
||||||
hideTutorial() {
|
hideTutorial() {
|
||||||
this.toolTutorial.className = "fade-out";
|
this.toolTutorial.className = "fade-out";
|
||||||
|
setTimeout(function(){this.toolTutorial.style.display = "none"}.bind(this), 200);
|
||||||
}
|
}
|
||||||
|
|
||||||
resetTutorial() {
|
resetTutorial() {
|
||||||
|
|
Loading…
Reference in New Issue