fix: incorrectly selecting linear elements on creation while tool-locked (#5785)
This commit is contained in:
@ -237,7 +237,7 @@ export const ShapesSwitcher = ({
|
||||
keyBindingLabel={`${numberKey}`}
|
||||
aria-label={capitalizeString(label)}
|
||||
aria-keyshortcuts={shortcut}
|
||||
data-testid={value}
|
||||
data-testid={`toolbar-${value}`}
|
||||
onPointerDown={({ pointerType }) => {
|
||||
if (!appState.penDetected && pointerType === "pen") {
|
||||
setAppState({
|
||||
|
Reference in New Issue
Block a user