fix(ags): fix setting closeWindowDelay
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-02-27 18:40:12 -05:00
parent 96193b4f1b
commit 9eb1c75f98

View file

@ -92,7 +92,10 @@ export class PopupWindow<
setup: () => { setup: () => {
const id = App.connect('config-parsed', () => { const id = App.connect('config-parsed', () => {
// Set close delay dynamically // Set close delay dynamically
App.closeWindowDelay[name] = transition_duration; App.closeWindowDelay = {
...App.closeWindowDelay,
[name]: transition_duration,
};
// Add way to make window open on startup // Add way to make window open on startup
if (visible) { if (visible) {