fix: filter lock shape in frame

This commit is contained in:
alt0
2022-08-18 11:31:36 +08:00
parent c7cd558c3b
commit 41e7ff0ba2

View File

@@ -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);
} }