@tscircuit/pcb-viewer 1.11.294 → 1.11.295
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13051,7 +13051,7 @@ var GroupAnchorOffsetOverlay = ({
|
|
|
13051
13051
|
const parentGroup = groups.find(
|
|
13052
13052
|
(g) => g.pcb_group_id === group.positioned_relative_to_pcb_group_id
|
|
13053
13053
|
);
|
|
13054
|
-
if (parentGroup && parentGroup.anchor_position && group.
|
|
13054
|
+
if (parentGroup && parentGroup.anchor_position && group.anchor_position) {
|
|
13055
13055
|
return { group, parentGroup, type: "group" };
|
|
13056
13056
|
}
|
|
13057
13057
|
}
|
|
@@ -13085,12 +13085,12 @@ var GroupAnchorOffsetOverlay = ({
|
|
|
13085
13085
|
display_offset_y: target.component.display_offset_y
|
|
13086
13086
|
};
|
|
13087
13087
|
}
|
|
13088
|
-
if (!target.group.
|
|
13088
|
+
if (!target.group.anchor_position) return null;
|
|
13089
13089
|
return {
|
|
13090
13090
|
id: `${target.parentGroup.pcb_group_id}-${target.group.pcb_group_id}-${target.type}`,
|
|
13091
13091
|
anchor,
|
|
13092
13092
|
anchor_id: target.parentGroup.pcb_group_id,
|
|
13093
|
-
target: target.group.
|
|
13093
|
+
target: target.group.anchor_position,
|
|
13094
13094
|
type: "group",
|
|
13095
13095
|
display_offset_x: target.group.display_offset_x,
|
|
13096
13096
|
display_offset_y: target.group.display_offset_y
|
|
@@ -13946,7 +13946,7 @@ import { css as css3 } from "@emotion/css";
|
|
|
13946
13946
|
// package.json
|
|
13947
13947
|
var package_default = {
|
|
13948
13948
|
name: "@tscircuit/pcb-viewer",
|
|
13949
|
-
version: "1.11.
|
|
13949
|
+
version: "1.11.294",
|
|
13950
13950
|
main: "dist/index.js",
|
|
13951
13951
|
type: "module",
|
|
13952
13952
|
repository: "tscircuit/pcb-viewer",
|