Skip to content

Commit 6461261

Browse files
Changed background options order
1 parent d59a7df commit 6461261

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

src/components/OptionsDisplay.tsx

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,15 @@ const OptionsDisplay: FC<OptionsDisplayProps> = ({
318318
isExpanded={expandedId === 3}
319319
onToggle={() => setExpandedId(expandedId === 3 ? null : 3)}
320320
>
321+
<div className="flex flex-col grow">
322+
<span className="text-sm text-muted-foreground mb-1">Dim color:</span>
323+
<PopoverPicker
324+
color={dimColor}
325+
onChange={setDimColor}
326+
defaultColor="#000000"
327+
align="bottom"
328+
/>
329+
</div>
321330
<div className="flex flex-col">
322331
<span className="text-sm text-muted-foreground mb-1">Background Dim:</span>
323332
<SliderInput
@@ -332,16 +341,6 @@ const OptionsDisplay: FC<OptionsDisplayProps> = ({
332341
defaultValue={defaultBgDim}
333342
/>
334343
</div>
335-
336-
<div className="flex flex-col grow">
337-
<span className="text-sm text-muted-foreground mb-1">Dim color:</span>
338-
<PopoverPicker
339-
color={dimColor}
340-
onChange={setDimColor}
341-
defaultColor="#000000"
342-
align="bottom"
343-
/>
344-
</div>
345344
</OptionsSection>
346345

347346
<button onClick={downloadImage} className="btn font-bold w-full mt-3">

0 commit comments

Comments
 (0)