5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 20:03:01 +08:00

Deprecate Fullscreen appoption (#1640)

Add comments and notes to recommend WindowStartState: options.Fullscreen instead
This commit is contained in:
Antonio Cheong 2022-07-23 15:12:45 +08:00 committed by GitHub
parent f0b8ab2fb8
commit f3516d0810
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ func main() {
Width: 800,
Height: 600,
DisableResize: false,
Fullscreen: false,
//Fullscreen: false, // This option is deprecated. Use WindowStartState instead
Frameless: true,
MinWidth: 400,
MinHeight: 400,
@ -135,6 +135,8 @@ Type: bool
Setting this to `true` will make the window fullscreen at startup.
Note: Fullscreen is deprecated. Use WindowStartState: options.Fullscreen instead
### Frameless
Name: Frameless