openpencil/src/engine
Danila Poyarkov ab9b4ac37c Extract remaining magic numbers to constants
Move all hardcoded numeric values from renderer and canvas-input
into named constants in constants.ts:

- Pen tool: vertex radius, close threshold, path stroke width
- Selection: handle half size, rotation handle radius, pill
  dimensions, marquee/dash/drop-highlight alphas
- Layout indicator stroke width
- Rotation: snap degrees, hit offset
- Text defaults: initial width/height
- Zoom sensitivity
- Ruler: target pixel spacing, major tick tolerance
- Parent outline: dash length
2026-02-28 12:56:38 +03:00
..
canvaskit.ts Add oxlint, oxfmt, typescript-go 2026-02-27 15:52:55 +03:00
clipboard.ts Refactor: vendor kiwi-schema, extract types/constants, culori colors 2026-02-28 08:08:04 +03:00
color.ts Deduplicate hex formatting: colorToHexRaw() in engine/color.ts 2026-02-28 09:08:40 +03:00
fonts.ts Fix production build type errors 2026-02-28 11:37:02 +03:00
layout.ts Auto-layout with Yoga WASM integration 2026-02-27 23:51:21 +03:00
renderer.ts Extract remaining magic numbers to constants 2026-02-28 12:56:38 +03:00
scene-graph.ts Default clipsContent to false (matching Figma) 2026-02-28 11:25:26 +03:00
snap.ts Rotation-aware snap guides and selection bounds 2026-02-28 01:24:23 +03:00
undo.ts Wire undo/redo into all editor operations 2026-02-28 06:28:17 +03:00
vector.ts Fix open paths rendering as closed 2026-02-28 07:15:07 +03:00