fix: remove entrance animation so dropped items are instantly draggable

Items were fading in from alpha 0 via spring animation, preventing
immediate interaction. Removed the entrance animation entirely — items
now appear at full opacity and are movable on first frame.
This commit is contained in:
Hiren Kangad
2026-03-12 22:09:12 +05:30
parent 5f60cc826a
commit 16a677dc89
3 changed files with 9 additions and 20 deletions
+2 -2
View File
@@ -357,7 +357,7 @@ const PixiCanvas = forwardRef<PixiCanvasHandle, PixiCanvasProps>(
// Re-load scene data so textures get re-uploaded to GPU
if (sceneRef.current && initialLoadDone.current) {
const data = sceneRef.current.serialize();
sceneRef.current.loadScene(data, false);
sceneRef.current.loadScene(data);
}
};
canvas.addEventListener('webglcontextlost', onContextLost);
@@ -441,7 +441,7 @@ const PixiCanvas = forwardRef<PixiCanvasHandle, PixiCanvasProps>(
}
initialLoadDone.current = true;
sceneRef.current.loadScene(sceneData, false);
sceneRef.current.loadScene(sceneData);
}, [canvasState, pixiReady]);
// ── Space key for pan mode ────────────────────────────────────────