make fn optional in app.Run

This commit is contained in:
grngxd 2025-06-27 15:23:51 +01:00
parent 34e396271d
commit a3791b599b
4 changed files with 36 additions and 4 deletions

View file

@ -23,7 +23,7 @@ import (
func main() {
// create the webview instance
app := tiramisu.New(tiramisu.Options{
app := tiramisu.New(tiramisu.TiramisuOptions{
Title: "Tiramisu Example",
Width: 800,
Height: 600,