fix: remove duplicate scale storage, read from State via ScaleProvider interface

- Remove Renderer.scale field and SetScale method
- Add ScaleProvider interface to avoid editor/ui import cycle
- Add Scale() method to State, rename Scale field to scale
- Renderer reads scale through r.scale.Scale()
- Fix icons.go blank import preventing embed.FS usage
- Update main.go to pass State as ScaleProvider to Renderer
This commit is contained in:
gmp
2026-05-17 10:59:29 -04:00
parent fa43bf2402
commit 93a7a0a0b2
8 changed files with 84 additions and 102 deletions
BIN
View File
Binary file not shown.