Add /^\d+$/ guard to opacityFromBuffer so strings like '12x', '5abc', or '3.5' return 100% instead of silently parsing the numeric prefix. Add unit tests for partial, decimal, scientific, negative, and whitespace-prefixed buffers. |
||
|---|---|---|
| .. | ||
| clipboard | ||
| components | ||
| selection | ||
| structure | ||
| undo | ||
| effects-and-resize.test.ts | ||
| graph-events.test.ts | ||
| nudge.test.ts | ||
| opacity.test.ts | ||
| preview-events.test.ts | ||
| text-auto-resize.test.ts | ||
| variable-bindings-undo.test.ts | ||