disable ListBox space shotcut

This commit is contained in:
Sanster
2022-02-06 21:32:54 +08:00
parent df53f81032
commit b4dc7a0253
2 changed files with 10 additions and 2 deletions

View File

@@ -439,6 +439,7 @@ export default function Editor(props: EditorProps) {
' ',
ev => {
ev?.preventDefault()
ev?.stopPropagation()
setShowBrush(!showBrush)
setIsPanning(!isPanning)
},