Skip to content

Commit

Permalink
feat: set the modal to add a click mask to close, close #12
Browse files Browse the repository at this point in the history
  • Loading branch information
ayangweb committed Mar 19, 2023
1 parent 3806a6e commit 8cc608c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@
"resizable": false,
"maximized": false,
"title": "ChatGPT",
"alwaysOnTop": false,
"decorations": false,
"transparent": true
"transparent": true,
"center": true
}
],
"systemTray": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Function/components/SettingsModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ const { apiKey, autoStart, isMemory } = storeToRefs(useSettingsStore())
simple
hide-cancel
:visible="visible"
:mask-closable="false"
:mask-style="{
borderRadius: '0.75rem'
}"
@ok="setVisible"
@cancel="setVisible"
>
<div class="flex flex-col gap-6">
<div class="flex gap-2">
Expand Down

0 comments on commit 8cc608c

Please sign in to comment.