Fix deadlock when opening files and update E2E tests
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user