A simple, high performance text editor.
Go to file
Greg Pomerantz 68437c32a7 Store scale in State, use it everywhere instead of gtx.Metric.PxPerDp
- State.Scale stores the scale factor (default 1.0)
- ScaleEvent applies SetScale() which updates State.Scale
- Logic.Scale() accessor returns current scale
- Renderer.SetScale() updates renderer's scale from State
- main.go: uses logic.Scale() to get scale, calls renderer.SetScale()
- No more references to gtx.Metric.PxPerDp in render.go or main.go
2026-05-09 20:23:02 -04:00
cmd/pad Store scale in State, use it everywhere instead of gtx.Metric.PxPerDp 2026-05-09 20:23:02 -04:00
doc Document background drawing with clips — use push/pop, not op.Record macro 2026-05-09 19:17:56 -04:00
internal Store scale in State, use it everywhere instead of gtx.Metric.PxPerDp 2026-05-09 20:23:02 -04:00
go.mod Add Gioui scaffolding with Label and ListView rendering 2026-05-07 17:45:56 -04:00
go.sum Add Gioui scaffolding with Label and ListView rendering 2026-05-07 17:45:56 -04:00
pad Update BottomBar to use drawText instead of material.Label 2026-05-09 15:53:14 -04:00