mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 12:30:48 +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
|
||||
}
|
||||
|
||||
// DockState gets saved and loaded from json
|
||||
// CtlState gets saved and loaded from json
|
||||
type CtlState struct {
|
||||
X, Y, Width, Height int
|
||||
}
|
||||
|
@ -80,7 +80,7 @@ type Project struct {
|
||||
// The address to bind the wails dev server to. Default "localhost:34115"
|
||||
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"`
|
||||
|
||||
// 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
|
||||
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 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