Skip to content

Commit

Permalink
Force windows to use a 1.0 zoom
Browse files Browse the repository at this point in the history
  • Loading branch information
kettek committed Oct 24, 2024
1 parent e3399c6 commit 683af7a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import (
"github.com/wailsapp/wails/v2/pkg/options"
"github.com/wailsapp/wails/v2/pkg/options/assetserver"
"github.com/wailsapp/wails/v2/pkg/options/linux"
"github.com/wailsapp/wails/v2/pkg/options/windows"
)

//go:embed build/appicon.png
Expand Down Expand Up @@ -105,6 +106,9 @@ func main() {
Linux: &linux.Options{
Icon: spriteBytes,
},
Windows: &windows.Options{
ZoomFactor: 1.0,
},
}); err != nil {
log.Println(err)
}
Expand Down

0 comments on commit 683af7a

Please sign in to comment.