Initial InputEvent handling. Clickable "Wrap" text label.

This commit is contained in:
gmp
2026-05-26 09:46:35 -04:00
parent 50e9ca5b34
commit 1596dab72d
5 changed files with 244 additions and 136 deletions
+3
View File
@@ -58,6 +58,9 @@ func run(w *app.Window) error {
mu.Lock()
currentElems := elems
renderer.Draw(gtx, currentElems)
if events := renderer.CheckGestures(e.Source); len(events) > 0 {
logic.InputChan() <- events
}
e.Frame(&ops)
mu.Unlock()
}