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:
parent
2481ff6a88
commit
9a069653e2
@ -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
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user