Skip to content

Commit 0450e2e

Browse files
committed
fix: keep Build 3D Model sticky while scrolling
- Make the Build 3D Model action bar sticky in 3D controls - Revert unintended model bobbing animation from preview loop
1 parent d1fd189 commit 0450e2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/ThreeDControls.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ export default function ThreeDControls({ swatches, imageDimensions, onChange, pe
247247
return (
248248
<div className="space-y-4">
249249
{/* Apply button */}
250-
<div className="flex justify-end">
250+
<div className="sticky top-0 z-20 -mx-1 px-1 py-1 bg-card/95 backdrop-blur supports-[backdrop-filter]:bg-card/80 border-b border-border/60 flex justify-end">
251251
<Button
252252
onClick={handleApply}
253253
disabled={isAutoPaintComputing}

0 commit comments

Comments
 (0)