diff --git a/src/css/ingame_hud/unlock_notification.scss b/src/css/ingame_hud/unlock_notification.scss index aad9f063..eeac3588 100644 --- a/src/css/ingame_hud/unlock_notification.scss +++ b/src/css/ingame_hud/unlock_notification.scss @@ -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; } diff --git a/src/js/game/hud/parts/unlock_notification.js b/src/js/game/hud/parts/unlock_notification.js index 4a0af10b..d9dfcd55 100644 --- a/src/js/game/hud/parts/unlock_notification.js +++ b/src/js/game/hud/parts/unlock_notification.js @@ -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");