Hide transform controls when locked
This commit is contained in:
parent
879a23f81a
commit
07b9f8f621
@ -321,7 +321,7 @@ function Token({
|
||||
) : null}
|
||||
</animated.Group>
|
||||
<Transformer
|
||||
active={selected || isTransforming}
|
||||
active={(!tokenState.locked && selected) || isTransforming}
|
||||
nodeRef={tokenRef}
|
||||
onTransformEnd={handleTransformEnd}
|
||||
onTransformStart={handleTransformStart}
|
||||
|
Loading…
Reference in New Issue
Block a user