fix(ags): don't close widgets on pressing the bar
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
27f1d01f31
commit
a504df00e9
1 changed files with 2 additions and 5 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue