Reduce unlock notification interval

This commit is contained in:
tobspr 2022-06-17 14:20:01 +02:00
parent de56764103
commit 400cc5fe81
2 changed files with 2 additions and 2 deletions

View File

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

View File

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