summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2020-11-19 16:58:59 +0100
committerOskar Nyberg <oskar@mullvad.net>2020-11-24 14:52:58 +0100
commit58e2ef338f66721bdbbb86b6256ae66b80d47a9d (patch)
treecc31c8c2f9cc27dcbaf928aae1a1e8b4279ad8c9 /gui/src
parent70c06e1a4776f10b61a035fef817dd9c5e35ba77 (diff)
downloadmullvadvpn-58e2ef338f66721bdbbb86b6256ae66b80d47a9d.tar.xz
mullvadvpn-58e2ef338f66721bdbbb86b6256ae66b80d47a9d.zip
Fix quit button in pinned mode on Windows
Diffstat (limited to 'gui/src')
-rw-r--r--gui/src/main/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/src/main/index.ts b/gui/src/main/index.ts
index a5a437e099..7f693e2fdf 100644
--- a/gui/src/main/index.ts
+++ b/gui/src/main/index.ts
@@ -1393,8 +1393,6 @@ class ApplicationMain {
show: false,
frame: this.guiSettings.unpinnedWindow,
transparent: !this.guiSettings.unpinnedWindow,
- minimizable: this.guiSettings.unpinnedWindow,
- closable: this.guiSettings.unpinnedWindow,
useContentSize: true,
webPreferences: {
nodeIntegration: true,
@@ -1410,6 +1408,8 @@ class ApplicationMain {
height: contentHeight + headerBarArrowHeight,
minHeight: contentHeight + headerBarArrowHeight,
titleBarStyle: this.guiSettings.unpinnedWindow ? 'default' : 'customButtonsOnHover',
+ minimizable: this.guiSettings.unpinnedWindow,
+ closable: this.guiSettings.unpinnedWindow,
});
// make the window visible on all workspaces