Update packages/web/src/components/toolbarButton.tsx
Co-authored-by: Dmitry Gozman <dgozman@gmail.com> Signed-off-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
parent
a0de3d84f0
commit
bb7b56776a
|
|
@ -42,7 +42,7 @@ export const ToolbarButton: React.FC<React.PropsWithChildren<ToolbarButtonProps>
|
|||
className,
|
||||
}) => {
|
||||
return <button
|
||||
className={clsx(className, `toolbar-button ${icon}`, toggled && 'toggled')}
|
||||
className={clsx(className, 'toolbar-button', icon, toggled && 'toggled')}
|
||||
onMouseDown={preventDefault}
|
||||
onClick={onClick}
|
||||
onDoubleClick={preventDefault}
|
||||
|
|
|
|||
Loading…
Reference in a new issue