feat(ui): move canvas fill color picker to right

This commit is contained in:
psychedelicious 2024-06-18 23:48:01 +10:00
parent 50bc2f100d
commit 4cb85404c0

View File

@ -16,7 +16,7 @@ export const ControlLayersToolbar = memo(() => {
return (
<Flex w="full" gap={2}>
<Flex flex={1} justifyContent="center">
<Flex gap={2} marginInlineEnd="auto">
<Flex gap={2} marginInlineEnd="auto" alignItems="center">
<ToggleProgressButton />
<ToolChooser />
</Flex>
@ -24,10 +24,10 @@ export const ControlLayersToolbar = memo(() => {
<Flex flex={1} gap={2} justifyContent="center" alignItems="center">
{tool === 'brush' && <BrushWidth />}
{tool === 'eraser' && <EraserWidth />}
<FillColorPicker />
</Flex>
<Flex flex={1} justifyContent="center">
<Flex gap={2} marginInlineStart="auto">
<Flex gap={2} marginInlineStart="auto" alignItems="center">
<FillColorPicker />
<UndoRedoButtonGroup />
<ControlLayersSettingsPopover />
<ViewerToggleMenu />