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

fix: filter lock shape in frame
This commit is contained in:
zuomeng wang authored and GitHub committed 2022-08-18 11:39:42 +08:00
commit 990a59b444
1 file changed
+2 -1
@@ -111,7 +111,8 @@ export class TranslateSession extends BaseSession {
Utils.boundsContain(
TLDR.get_bounds(shap),
TLDR.get_bounds(shapItem)
)
) &&
!shapItem.isLocked
) {
selectedShapes.push(shapItem);
}