Merge pull request #285 from toeverything/fix/lock-shape-in-frame

fix: filter lock shape in frame
This commit is contained in:
zuomeng wang
2022-08-18 11:39:42 +08:00
committed by GitHub

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