refactor(canvas): update edge insertion reflow duration and transition timing
- Reduced the edge insertion reflow duration from 1297ms to 997ms for improved performance. - Changed the transition timing function to a cubic-bezier for smoother animations in the canvas.
This commit is contained in:
@@ -82,7 +82,7 @@ interface CanvasInnerProps {
|
||||
canvasId: Id<"canvases">;
|
||||
}
|
||||
|
||||
const EDGE_INSERT_REFLOW_SETTLE_MS = 1297;
|
||||
const EDGE_INSERT_REFLOW_SETTLE_MS = 997;
|
||||
|
||||
function CanvasInner({ canvasId }: CanvasInnerProps) {
|
||||
const t = useTranslations('toasts');
|
||||
|
||||
Reference in New Issue
Block a user