From 22bb181b91e831f18680ef9513ab4aebc6c64ea9 Mon Sep 17 00:00:00 2001 From: Alexander Drozdov Date: Tue, 30 Jun 2020 01:52:22 +0300 Subject: [PATCH] replace exclusive widget --- src/web/overlay/OverlayWindow.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/web/overlay/OverlayWindow.vue b/src/web/overlay/OverlayWindow.vue index 1d915c42..3653b739 100644 --- a/src/web/overlay/OverlayWindow.vue +++ b/src/web/overlay/OverlayWindow.vue @@ -170,6 +170,9 @@ export default { }, show (wmId) { this.bringToTop(wmId) + if (this.topmostOrExclusiveWidget.wmZorder === 'exclusive') { + this.hide(this.topmostOrExclusiveWidget.wmId) + } this.widgets.find(_ => _.wmId === wmId).wmWants = 'show' }, hide (wmId) {