Reduce unlock notification interval

pull/1415/merge
tobspr 2 years ago
parent de56764103
commit 400cc5fe81

@ -170,7 +170,7 @@
bottom: 0;
background: rgba(0, 10, 20, 0.8);
@include InlineAnimation(5s linear) {
@include InlineAnimation(1.5s linear) {
0% {
left: 0;
}

@ -110,7 +110,7 @@ export class HUDUnlockNotification extends BaseHUDPart {
if (this.root.app.settings.getAllSettings().offerHints) {
this.buttonShowTimeout = setTimeout(
() => this.element.querySelector("button.close").classList.add("unlocked"),
G_IS_DEV ? 100 : 5000
G_IS_DEV ? 100 : 1500
);
} else {
this.element.querySelector("button.close").classList.add("unlocked");

Loading…
Cancel
Save