1
0
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:
bbedward
2026-08-10 18:34:58 -04:00
committed by dms-ci[bot]
parent 83e2b89393
commit 58ff7e20e3
+3 -3
View File
@@ -1177,9 +1177,9 @@ Item {
if (!widget) if (!widget)
return `WIDGET_NOT_AVAILABLE: ${widgetId}`; return `WIDGET_NOT_AVAILABLE: ${widgetId}`;
if (widget.popoutTarget?.shouldBeVisible) if (!widget.popoutTarget)
return "visible"; return `WIDGET_NO_POPOUT: ${widgetId}`;
return "hidden"; return widget.popoutTarget.shouldBeVisible ? "visible" : "hidden";
} }
function reveal(widgetId: string): string { function reveal(widgetId: string): string {