From 98a51cba01341d4ef860457e10a4628b426111d0 Mon Sep 17 00:00:00 2001 From: tinyAdapter Date: Wed, 25 Dec 2019 20:56:49 +0800 Subject: [PATCH] revert: close button closes main window, minimize button hides it --- src/renderer/components/PageHeader.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/renderer/components/PageHeader.vue b/src/renderer/components/PageHeader.vue index 98bc76f..d91b92f 100644 --- a/src/renderer/components/PageHeader.vue +++ b/src/renderer/components/PageHeader.vue @@ -6,7 +6,7 @@ mdi-window-minimize - + mdi-window-close @@ -31,9 +31,6 @@ export default class PageContent extends Vue { @Prop(String) public title!: string public minimizeWindow () { - remote.getCurrentWindow().minimize() - } - public hideWindow () { remote.getCurrentWindow().hide() } public closeWindow () {