@tscircuit/pcb-viewer 1.11.291 → 1.11.292
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 +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13123,8 +13123,8 @@ var GroupAnchorOffsetOverlay = ({
|
|
|
13123
13123
|
const yLabelOffset = isTargetRightOfAnchor ? VISUAL_CONFIG.LABEL_OFFSET_RIGHT : VISUAL_CONFIG.LABEL_OFFSET_LEFT;
|
|
13124
13124
|
const shouldShowXLabel = xLineLength > VISUAL_CONFIG.MIN_LINE_LENGTH_FOR_LABEL;
|
|
13125
13125
|
const shouldShowYLabel = yLineLength > VISUAL_CONFIG.MIN_LINE_LENGTH_FOR_LABEL;
|
|
13126
|
-
const xLabelText =
|
|
13127
|
-
const yLabelText =
|
|
13126
|
+
const xLabelText = displayOffsetX ? displayOffsetX : `${offsetX.toFixed(2)}mm`;
|
|
13127
|
+
const yLabelText = displayOffsetY ? displayOffsetY : `${offsetY.toFixed(2)}mm`;
|
|
13128
13128
|
return /* @__PURE__ */ jsxs10(
|
|
13129
13129
|
"g",
|
|
13130
13130
|
{
|
|
@@ -14096,7 +14096,7 @@ import { css as css3 } from "@emotion/css";
|
|
|
14096
14096
|
// package.json
|
|
14097
14097
|
var package_default = {
|
|
14098
14098
|
name: "@tscircuit/pcb-viewer",
|
|
14099
|
-
version: "1.11.
|
|
14099
|
+
version: "1.11.291",
|
|
14100
14100
|
main: "dist/index.js",
|
|
14101
14101
|
type: "module",
|
|
14102
14102
|
repository: "tscircuit/pcb-viewer",
|