fix: disable UI pointer-events on canvas drag (#2856)

This commit is contained in:
David Luzar 2021-02-01 13:55:38 +01:00 committed by GitHub
parent 0d0fe32485
commit 627c56ef1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 12 deletions

View file

@ -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()}