Fix deadlock when opening files and update E2E tests

This commit is contained in:
gmp
2026-06-04 13:06:30 -04:00
parent d06f8af0f7
commit ca828569f7
13 changed files with 617 additions and 97 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ func run(w *app.Window) error {
log.Printf("run: starting")
var ops op.Ops
shaper := text.NewShaper(text.WithCollection(gofont.Collection()))
logic := editor.NewLogic()
logic := editor.NewLogic(nil)
renderer := ui.New(ui.Theme{FontSize: 14}, shaper, logic.State())
var mu sync.Mutex
var elems []ui.Element