fix: filter lock shape in frame

This commit is contained in:
alt0 committed 2022-08-18 11:31:36 +08:00
1 parent c7cd558c3b
commit 41e7ff0ba2
1 file changed
+2 -1
@@ -111,7 +111,8 @@ export class TranslateSession extends BaseSession {
Utils.boundsContain( Utils.boundsContain(
TLDR.get_bounds(shap), TLDR.get_bounds(shap),
TLDR.get_bounds(shapItem) TLDR.get_bounds(shapItem)
) ) &&
!shapItem.isLocked
) { ) {
selectedShapes.push(shapItem); selectedShapes.push(shapItem);
} }