fix(ags): update closeWindowDelay
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
9eb1c75f98
commit
6a4ca65974
2 changed files with 4 additions and 7 deletions
6
flake.lock
generated
6
flake.lock
generated
|
@ -7,11 +7,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1708986959,
|
||||
"narHash": "sha256-pTh3n2Lp8Twr8Qv30E86gU6NfoNoId7Da+6P1qEG/Jc=",
|
||||
"lastModified": 1709084243,
|
||||
"narHash": "sha256-qYqxP8k2JSdN+0TyPTxhFx1TS/kxlS7CsOzKBc752/A=",
|
||||
"owner": "Aylur",
|
||||
"repo": "ags",
|
||||
"rev": "ee3e65e8003a39c2ff1f46dca60308771da6072c",
|
||||
"rev": "f905abfd2210701929ffaa3db13faa783b782765",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -92,10 +92,7 @@ export class PopupWindow<
|
|||
setup: () => {
|
||||
const id = App.connect('config-parsed', () => {
|
||||
// Set close delay dynamically
|
||||
App.closeWindowDelay = {
|
||||
...App.closeWindowDelay,
|
||||
[name]: transition_duration,
|
||||
};
|
||||
App.closeWindowDelay[name] = transition_duration;
|
||||
|
||||
// Add way to make window open on startup
|
||||
if (visible) {
|
||||
|
|
Loading…
Add table
Reference in a new issue