fix(ags): fix setting 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
96193b4f1b
commit
9eb1c75f98
1 changed files with 4 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue