mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
disable pointer events on hidden menus in zen mode (#1511)
This commit is contained in:
parent
0c2aa951d6
commit
51f8146357
4 changed files with 28 additions and 8 deletions
|
@ -46,7 +46,7 @@ export function LockIcon(props: LockIconProps) {
|
|||
return (
|
||||
<label
|
||||
className={`ToolIcon ToolIcon__lock ToolIcon_type_floating ${sizeCn} zen-mode-visibility ${
|
||||
props.zenModeEnabled && "hidden"
|
||||
props.zenModeEnabled && "hidden disable-pointerEvents"
|
||||
}`}
|
||||
title={`${props.title} — Q`}
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue