mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: disable UI pointer-events on canvas drag (#2856)
This commit is contained in:
parent
0d0fe32485
commit
627c56ef1c
4 changed files with 9 additions and 12 deletions
|
@ -602,7 +602,11 @@ const LayerUI = ({
|
|||
/>
|
||||
</>
|
||||
) : (
|
||||
<div className="layer-ui__wrapper">
|
||||
<div
|
||||
className={clsx("layer-ui__wrapper", {
|
||||
"disable-pointerEvents": appState.cursorButton === "down",
|
||||
})}
|
||||
>
|
||||
{dialogs}
|
||||
{renderFixedSideContainer()}
|
||||
{renderBottomAppMenu()}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue