Reduce unlock notification interval
This commit is contained in:
parent
de56764103
commit
400cc5fe81
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue