Skip to content

Commit

Permalink
fix: modals in overview
Browse files Browse the repository at this point in the history
  • Loading branch information
garaevdi committed Jun 27, 2024
1 parent 354fa8a commit ce3ba65
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit ce3ba65

Please sign in to comment.