mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
fix tool icon button on mobile (#1489)
This commit is contained in:
parent
2c5c770e78
commit
582d26e858
1 changed files with 3 additions and 3 deletions
|
@ -50,9 +50,9 @@ export const ToolButton = React.forwardRef(function (
|
||||||
className={`ToolIcon_type_button ToolIcon ${sizeCn}${
|
className={`ToolIcon_type_button ToolIcon ${sizeCn}${
|
||||||
props.selected ? " ToolIcon--selected" : ""
|
props.selected ? " ToolIcon--selected" : ""
|
||||||
} ${props.className || ""} ${
|
} ${props.className || ""} ${
|
||||||
props.visible
|
props.visible || props.visible == null
|
||||||
? "ToolIcon_type_button--hide"
|
? "ToolIcon_type_button--show"
|
||||||
: "ToolIcon_type_button--show"
|
: "ToolIcon_type_button--hide"
|
||||||
}`}
|
}`}
|
||||||
title={props.title}
|
title={props.title}
|
||||||
aria-label={props["aria-label"]}
|
aria-label={props["aria-label"]}
|
||||||
|
|
Loading…
Add table
Reference in a new issue