mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-11 07:58:30 -04:00
fix(ipc): widget status distinguishes missing popouts from closed ones
fixes #3032
port 1.5
(cherry picked from commit 2f27eab949)
This commit is contained in:
@@ -1177,9 +1177,9 @@ Item {
|
||||
if (!widget)
|
||||
return `WIDGET_NOT_AVAILABLE: ${widgetId}`;
|
||||
|
||||
if (widget.popoutTarget?.shouldBeVisible)
|
||||
return "visible";
|
||||
return "hidden";
|
||||
if (!widget.popoutTarget)
|
||||
return `WIDGET_NO_POPOUT: ${widgetId}`;
|
||||
return widget.popoutTarget.shouldBeVisible ? "visible" : "hidden";
|
||||
}
|
||||
|
||||
function reveal(widgetId: string): string {
|
||||
|
||||
Reference in New Issue
Block a user