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

chore: fix some comments (#3399)

Signed-off-by: hidewrong <hidewrong@outlook.com>
This commit is contained in:
hidewrong 2024-04-17 16:42:53 +08:00 committed by GitHub
parent 2481ff6a88
commit 9a069653e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -65,7 +65,7 @@ type SimpleDock struct {
loadedState bool loadedState bool
} }
// DockState gets saved and loaded from json // CtlState gets saved and loaded from json
type CtlState struct { type CtlState struct {
X, Y, Width, Height int X, Y, Width, Height int
} }

View File

@ -80,7 +80,7 @@ type Project struct {
// The address to bind the wails dev server to. Default "localhost:34115" // The address to bind the wails dev server to. Default "localhost:34115"
DevServer string `json:"devServer"` DevServer string `json:"devServer"`
// Arguments that are forwared to the application in dev mode // Arguments that are forward to the application in dev mode
AppArgs string `json:"appargs"` AppArgs string `json:"appargs"`
// NSISType to be build // NSISType to be build

View File

@ -97,7 +97,7 @@ func (b *Basic) startup(ctx context.Context) {
The runtime in v2 is much richer than v1 with support for menus, window manipulation The runtime in v2 is much richer than v1 with support for menus, window manipulation
and better dialogs. The signature of the methods has changed slightly - please refer and better dialogs. The signature of the methods has changed slightly - please refer
the the [Runtime Reference](../reference/runtime/intro.mdx). to the [Runtime Reference](../reference/runtime/intro.mdx).
In v1, the [runtime](../reference/runtime/intro.mdx) was available via a struct passed to `WailsInit()`. In v1, the [runtime](../reference/runtime/intro.mdx) was available via a struct passed to `WailsInit()`.
In v2, the runtime has been moved out to its own package. Each method in the runtime takes the In v2, the runtime has been moved out to its own package. Each method in the runtime takes the