Skip to content

Commit

Permalink
Merge pull request #110 from Sherlockouo/yuzh_dev
Browse files Browse the repository at this point in the history
Fix multiple problems.
  • Loading branch information
Sherlockouo authored Jan 29, 2024
2 parents 30332dd + c5c1099 commit ab3cdd0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/desktop/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ class Main {
backgroundColor: 'rgba(0, 0, 0, 0)',
show: false,
}
if(isWindows) {
options.transparent = false
}
if (store.get('window')) {
options.x = store.get('window.x')
options.y = store.get('window.y')
Expand Down Expand Up @@ -238,7 +241,7 @@ class Main {
}
let closeWindowInMinimize = store.get('settings.closeWindowInMinimize')

if (closeWindowInMinimize === 'true') {
if (closeWindowInMinimize == true) {
e.preventDefault()
this.win?.hide()
return
Expand Down

0 comments on commit ab3cdd0

Please sign in to comment.