mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
Fix build issue
This commit is contained in:
parent
be8159d410
commit
8ba623f5fe
2 changed files with 2 additions and 3 deletions
|
|
@ -12,7 +12,7 @@ var assets embed.FS
|
|||
|
||||
func main() {
|
||||
app := application.New(application.Options{
|
||||
Name: "Window Menu Demo",
|
||||
Name: "Window MenuBar Demo",
|
||||
Description: "A demo of menu bar toggling",
|
||||
Assets: application.AssetOptions{
|
||||
Handler: application.BundledAssetFileServer(assets),
|
||||
|
|
@ -38,7 +38,7 @@ func main() {
|
|||
|
||||
// Create window with menu
|
||||
app.NewWebviewWindowWithOptions(application.WebviewWindowOptions{
|
||||
Title: "Window Menu Demo",
|
||||
Title: "Window MenuBar Demo",
|
||||
Width: 800,
|
||||
Height: 600,
|
||||
Windows: application.WindowsWindow{
|
||||
|
|
|
|||
|
|
@ -43,7 +43,6 @@ func (c *Context) ContextMenuData() string {
|
|||
}
|
||||
return str
|
||||
}
|
||||
}
|
||||
|
||||
func (c *Context) withClickedMenuItem(menuItem *MenuItem) *Context {
|
||||
c.data[clickedMenuItem] = menuItem
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue