From ce3ba657ed59263c74e589418f8fd39441b74725 Mon Sep 17 00:00:00 2001 From: Denis Garaev Date: Thu, 27 Jun 2024 22:35:51 +0300 Subject: [PATCH] fix: modals in overview --- src/extension.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/extension.ts b/src/extension.ts index b323745..2935b37 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -19,7 +19,7 @@ import {WindowActorTracker} from './manager/effect_manager.js'; import {connections} from './utils/connections.js'; import {constants} from './utils/constants.js'; import {_log, stackMsg} from './utils/log.js'; -import {init_settings, uninit_settings, settings} from './utils/settings.js'; +import {init_settings, settings, uninit_settings} from './utils/settings.js'; import * as UI from './utils/ui.js'; // types, which will be removed in output @@ -117,7 +117,10 @@ export default class RoundedWindowCornersReborn extends Extension { ); has_rounded_corners = UI.ShouldHasRoundedCorners(window, cfg); } - if (!(has_rounded_corners && shadow)) { + if ( + !(has_rounded_corners && shadow) || + window.has_attached_dialogs() + ) { return; }