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
@@ -111,7 +111,8 @@ export class TranslateSession extends BaseSession {
Utils.boundsContain(
TLDR.get_bounds(shap),
TLDR.get_bounds(shapItem)
)
) &&
!shapItem.isLocked
) {
selectedShapes.push(shapItem);
}