You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bc8ee7b
Browse filesBrowse the repository at this point in the historyBrowse files
Three rounds of review feedback consolidated:
- Single hit-Rect at the symbol Group level: the click-target
Rect previously lived inside the vector branch only, so D/E
logo placeholders weren't selectable. Hoisting to the Group
level gives both branches one consistent hit area.
- GS_VECTOR_CODES set + GsVectorCode type replace the magic
`'A' | 'B' | 'C'` cast at the canvas lookup. Adding D/E to the
vector set later is a one-line change rather than a silently-
broken cast.
- DEFAULT_GS_SYMBOL_META switches from positional `GS_SYMBOLS[1]`
to find() on the canonical code so reordering the symbol table
doesn't break the fallback.
- Defensive `rel[p.rotation] ?? rel.N` in the sceneFunc handles
malformed JSON imports with an unexpected rotation string.
- gsSymbolPaths.ts (and the regen-from-cache template) reuse
ZplRotation from registry/rotation.ts and ship an AUTO-GENERATED
header so the next maintainer doesn't hand-edit them.
- KonvaObject reaches the native 2D context via Konva's idiomatic
`ctx._context.fill(path, "evenodd")` instead of the unknown-cast.
- All 32 locale files get proper symbol-block translations —
English fallback broke the convention every other entry follows.
Height and Width pulled from each locale's existing barcode
entries to keep unit terminology consistent.
Deferred (separate concern): memoise `new Path2D` outside
sceneFunc — perf nit at very high symbol counts, not a
correctness issue.
0 commit comments