fix(ags): don't close widgets on pressing the bar
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-06-24 16:52:09 -04:00
parent 27f1d01f31
commit a504df00e9

View file

@ -156,10 +156,7 @@ class Pointers extends Service {
if (overlayLayer) {
const noCloseWidgetsNames = [
'bar-0',
'bar-1',
'bar-2',
'bar-3',
'bar-',
'osk',
];
@ -169,7 +166,7 @@ class Pointers extends Service {
names.forEach((name) => {
arr.push(
overlayLayer.find(
(n) => n.namespace === name,
(n) => n.namespace.startsWith(name),
) ||
// Return an empty Layer if widget doesn't exist
{