Pad/internal/ui
Greg Pomerantz 0246316d8f Add word-wrapped text display with two-finger scroll
- Renderer computes word wrap via single LayoutString pass with
  WrapHeuristically policy; glyphs drawn inline at FlagLineBreak
- Fixed line height (fontSize * 1.2), independent of glyph metrics
- Two-finger trackpad scroll via gesture.Scroll with vertical axis
- Display line feedback: renderer reports last glyph Y after each
  Draw; logic uses it to clamp scroll offset so last line stops
  at bottom of viewport with lineHeight/2 padding
- ScrollRange fix: {Min: -(1<<30), Max: 1<<30} ensures scroll
  delta is consumed (empty range consumes nothing via clampSplit)
- Line counting fix: only FlagLineBreak increments count; buffer
  flushes (32-glyph cap) draw but don't count
2026-05-26 20:26:20 -04:00
..
icons fix: remove duplicate scale storage, read from State via ScaleProvider interface 2026-05-17 10:59:29 -04:00
element.go Add word-wrapped text display with two-finger scroll 2026-05-26 20:26:20 -04:00
layout.go Add word-wrapped text display with two-finger scroll 2026-05-26 20:26:20 -04:00
render.go Add word-wrapped text display with two-finger scroll 2026-05-26 20:26:20 -04:00
unit.go Introduce distinct Dp/Px types to prevent coordinate mixing at compile time 2026-05-09 18:40:47 -04:00