aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src
diff options
context:
space:
mode:
Diffstat (limited to 'src-vue/src')
-rw-r--r--src-vue/src/App.vue7
1 files changed, 4 insertions, 3 deletions
diff --git a/src-vue/src/App.vue b/src-vue/src/App.vue
index e0f6741b..d179c462 100644
--- a/src-vue/src/App.vue
+++ b/src-vue/src/App.vue
@@ -1,5 +1,6 @@
<script setup lang="ts">
import PlayView from './views/PlayView.vue';
+import { appWindow } from '@tauri-apps/api/window';
</script>
<template>
@@ -11,8 +12,8 @@ import PlayView from './views/PlayView.vue';
<el-tab-pane label="Settings">Settings</el-tab-pane>
</el-tabs>
<div id="fc_window__controls">
- <el-button color="white" icon="SemiSelect" circle />
- <el-button color="white" icon="CloseBold" circle />
+ <el-button color="white" icon="SemiSelect" @click="appWindow.minimize()" circle />
+ <el-button color="white" icon="CloseBold" @click="appWindow.close()" circle />
</div>
</template>
@@ -74,7 +75,7 @@ import PlayView from './views/PlayView.vue';
}
#fc_window__controls > button:last-of-type {
- margin-right: 20px;
+ margin-right: 15px;
}
</style>