fix(ags osd): set closeWindowDelay to 300
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-01-02 16:40:12 -05:00
parent 362daed7c4
commit 8f11f75e8b
3 changed files with 4 additions and 4 deletions

View file

@ -36,7 +36,6 @@
"func-style": ["warn", "expression"],
"logical-assignment-operators": ["warn", "always"],
"no-array-constructor": ["error"],
"no-else-return": ["error"],
"no-empty-function": ["warn"],
"no-empty-static-block": ["warn"],
"no-extend-native": ["error"],

View file

@ -30,7 +30,7 @@ export default {
'applauncher': closeWinDelay,
'calendar': closeWinDelay,
'notification-center': closeWinDelay,
'osd': closeWinDelay,
'osd': 300,
'osk': closeWinDelay,
'overview': closeWinDelay,
'powermenu': closeWinDelay,

View file

@ -14,12 +14,13 @@ for (const osd in Modules) {
} // Array
const HIDE_DELAY = 2000;
const transition_duration = 300;
const OSDs = () => {
const stack = Stack({
transition: 'over_up_down',
transition_duration: 200,
transition_duration,
attribute: {
popup: () => {/**/},
@ -59,6 +60,6 @@ export default () => PopupWindow({
exclusivity: 'ignore',
close_on_unfocus: 'stay',
transition: 'slide_up',
transition_duration: 200,
transition_duration,
child: OSDs(),
});