ensure only selected elems can be resized (fixes #256)
This commit is contained in:
parent
009412a093
commit
08b804ac63
@ -11,7 +11,7 @@ export function resizeTest(
|
||||
y: number,
|
||||
sceneState: SceneState
|
||||
): HandlerRectanglesRet | false {
|
||||
if (element.type === "text") return false;
|
||||
if (!element.isSelected || element.type === "text") return false;
|
||||
|
||||
const handlers = handlerRectangles(element, sceneState);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user