mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
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 {
|
||||
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() {
|
||||
|
Loading…
Reference in New Issue
Block a user