Browse Source

style: make easing presets popup 4 columns wide

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
handoff-20260429-1057
shrimbly 4 months ago
parent
commit
56ee1a33fd
  1. 4
      src/components/nodes/ControlPanel.tsx

4
src/components/nodes/ControlPanel.tsx

@ -884,10 +884,10 @@ function EaseCurveControls({ node }: { node: Node }) {
style={{ style={{
top: presetsButtonRef.current?.getBoundingClientRect().bottom || 0, top: presetsButtonRef.current?.getBoundingClientRect().bottom || 0,
right: window.innerWidth - (presetsButtonRef.current?.getBoundingClientRect().left || 0), right: window.innerWidth - (presetsButtonRef.current?.getBoundingClientRect().left || 0),
width: 240, width: 280,
}} }}
> >
<div className="grid grid-cols-3 gap-1"> <div className="grid grid-cols-4 gap-1">
{presetThumbnails.map(({ name, polyline }) => ( {presetThumbnails.map(({ name, polyline }) => (
<button <button
key={name} key={name}

Loading…
Cancel
Save