@tscircuit/pcb-viewer 1.11.288 → 1.11.289
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
|
@@ -12829,8 +12829,8 @@ var BoardAnchorOffsetOverlay = ({
|
|
|
12829
12829
|
const yLabelOffset = isTargetRightOfAnchor ? VISUAL_CONFIG.LABEL_OFFSET_RIGHT : VISUAL_CONFIG.LABEL_OFFSET_LEFT;
|
|
12830
12830
|
const shouldShowXLabel = xLineLength > VISUAL_CONFIG.MIN_LINE_LENGTH_FOR_LABEL;
|
|
12831
12831
|
const shouldShowYLabel = yLineLength > VISUAL_CONFIG.MIN_LINE_LENGTH_FOR_LABEL;
|
|
12832
|
-
const xLabelText =
|
|
12833
|
-
const yLabelText =
|
|
12832
|
+
const xLabelText = `${displayOffsetX ?? offsetX.toFixed(2)}mm`;
|
|
12833
|
+
const yLabelText = `${displayOffsetY ?? offsetY.toFixed(2)}mm`;
|
|
12834
12834
|
return /* @__PURE__ */ jsxs9("g", { children: [
|
|
12835
12835
|
/* @__PURE__ */ jsx12(
|
|
12836
12836
|
"line",
|
|
@@ -13889,7 +13889,7 @@ import { css as css3 } from "@emotion/css";
|
|
|
13889
13889
|
// package.json
|
|
13890
13890
|
var package_default = {
|
|
13891
13891
|
name: "@tscircuit/pcb-viewer",
|
|
13892
|
-
version: "1.11.
|
|
13892
|
+
version: "1.11.288",
|
|
13893
13893
|
main: "dist/index.js",
|
|
13894
13894
|
type: "module",
|
|
13895
13895
|
repository: "tscircuit/pcb-viewer",
|