ensure only selected elems can be resized (fixes #256)

pull/261/head
dwelle 5 years ago
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…
Cancel
Save