Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
docs([issue-2977]): explain why the pre-load frame placeholder is square
[._.]/ Adam Eivybc6fa83d8b11
diff --git a/client/src/components/sprites/LoopTrimmer.jsx b/client/src/components/sprites/LoopTrimmer.jsxindex 34c75bb53d..01459b9aa6 100644--- a/client/src/components/sprites/LoopTrimmer.jsx+++ b/client/src/components/sprites/LoopTrimmer.jsx@@ -40,6 +40,7 @@ const MAIN_PX = 192;// painted into a 384px backing store its squares would shrink with the scale// factor — and the canvas carries the shared PIXELATED style so the browser's// scale stays nearest-neighbor like every other sprite surface.+//// `checkerCell` is the checkerboard square size in CSS px — larger for the main// preview, smaller so the pattern stays legible in a thumbnail.function FrameCanvas({ img, col, cellW, cellH, checkerCell = 5 }) {@@ -64,7 +65,11 @@ function FrameCanvas({ img, col, cellW, cellH, checkerCell = 5 }) {}, [img, col, cellW, cellH, w, h, ready]);// The box holds the frame's aspect whether or not the strip has loaded, so- // the grid doesn't collapse to zero height and then reflow on load.+ // the grid doesn't collapse to zero height and then reflow on load. The+ // pre-load placeholder is square because square cells are this module's+ // invariant, not a guess: a native walk cell is WALK_CELL_SIZE² and+ // `buildTrimmerSources` derives a saved trim's frameCount as+ // `round(width / height)`, which only holds for square cells.return (<divclassName="w-full block overflow-hidden"