diff --git a/frontend/realtime/src/components/features/ToolbarMain/ToolbarMain.tsx b/frontend/realtime/src/components/features/ToolbarMain/ToolbarMain.tsx index 85376fa91c..e0089b1756 100644 --- a/frontend/realtime/src/components/features/ToolbarMain/ToolbarMain.tsx +++ b/frontend/realtime/src/components/features/ToolbarMain/ToolbarMain.tsx @@ -22,6 +22,9 @@ import { ToolbarButton } from "../ToolbarButton"; // style and constants import { paperWrapperStyles, toolTipStyles } from "~/components/styles"; import { ToolbarMainButtonNames } from "./enum"; +import { dispatchUiEvents, uiEvents } from "~/signals/uiEvents"; +import { paintColor } from "~/signals/uiEvents/toolbarMain/paintMode"; +import { ColorPicker } from "~/components/ui/TextEditor/ColorPicker"; export const ToolbarMain = ({ disabled = false, @@ -44,7 +47,7 @@ export const ToolbarMain = ({ paperWrapperStyles, "glass", disabled && - "pointer-events-none cursor-default bg-ui-border shadow-md", + "pointer-events-none cursor-default bg-ui-border shadow-md", )} >
@@ -151,11 +154,18 @@ export const ToolbarMain = ({
- + {buttonProps.PAINT.active ? + + : + + }