From 28c7253622b7e3641f2d4aaa2e867fafe28704af Mon Sep 17 00:00:00 2001 From: Greg Pomerantz Date: Sun, 10 May 2026 07:10:02 -0400 Subject: [PATCH] Fix icon path and Y positioning - Read icons/cut.png (not cut.png) to match embed directive - Offset icon Y by iconSize so bottom aligns with text baseline - drawText uses baseline positioning, drawPng uses top-left corner --- internal/ui/render.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ui/render.go b/internal/ui/render.go index eaf14ef..633ace6 100644 --- a/internal/ui/render.go +++ b/internal/ui/render.go @@ -37,7 +37,7 @@ func New(th Theme, shp *text.Shaper) *Renderer { // loadIcons loads PNG icons from the embedded filesystem. func (r *Renderer) loadIcons() { - data, err := iconFS.ReadFile("cut.png") + data, err := iconFS.ReadFile("icons/cut.png") if err != nil { return }