MCPcopy Create free account
hub / github.com/B33pBeeps/redthread / drawNoteAtWithBorder

Function drawNoteAtWithBorder

internal/app/draw.go:108–110  ·  view source on GitHub ↗

drawNoteAtWithBorder is drawNoteAt with an explicit border-color override (used during the zoom transition to avoid the highlight flashing mid-anim).

(c *Canvas, rect Rect, n *Note, textMode TextStyleMode, borderColor RGB)

Source from the content-addressed store, hash-verified

106// drawNoteAtWithBorder is drawNoteAt with an explicit border-color override
107// (used during the zoom transition to avoid the highlight flashing mid-anim).
108func drawNoteAtWithBorder(c *Canvas, rect Rect, n *Note, textMode TextStyleMode, borderColor RGB) {
109 drawNoteInternal(c, rect, n, true, textMode, &borderColor)
110}
111
112// drawNoteFrame draws only the frame (tape, borders, title row, separator,
113// inner flourish, fold glyph) — NOT the body. Used in edit mode where a

Callers 1

drawTransitionViewMethod · 0.85

Calls 1

drawNoteInternalFunction · 0.85

Tested by

no test coverage detected