mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-23 19:54:02 -04:00
bar: allow popouts from bars revealed in overview (#3592)
This commit is contained in:
1 parent
e4fb86be91
commit
734314d09f
1 file changed
+3
-1
@@ -135,7 +135,9 @@ Singleton {
|
||||
const context = entry.context;
|
||||
if (!context?.surface?.screen)
|
||||
return true;
|
||||
if (!context.owner?.active || context.surface.config.enabled === false || context.surface.config.visible === false)
|
||||
if (!context.owner?.active || context.surface.config.enabled === false)
|
||||
return false;
|
||||
if (context.surface.config.visible === false && !(context.surface.host?.barRevealed ?? context.surface.revealed))
|
||||
return false;
|
||||
if (context.kind === "dock")
|
||||
return SettingsData.dockConfigsForScreen(context.surface.screen).some(config => config.id === context.barId);
|
||||
|
||||
Reference in new issue
Block a user