@tscircuit/pcb-viewer 1.11.173 → 1.11.174

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 CHANGED
@@ -8034,6 +8034,13 @@ var drawText = (drawer, text) => {
8034
8034
  x: text.x + alignOffset.x,
8035
8035
  y: text.y + alignOffset.y
8036
8036
  });
8037
+ if (text.layer === "bottom_silkscreen") {
8038
+ text_lines = text_lines.map((line) => ({
8039
+ ...line,
8040
+ x1: 2 * text.x - line.x1,
8041
+ x2: 2 * text.x - line.x2
8042
+ }));
8043
+ }
8037
8044
  if (text.ccw_rotation) {
8038
8045
  const rotateTextParams = {
8039
8046
  lines: text_lines,
@@ -9924,7 +9931,7 @@ import { css as css3 } from "@emotion/css";
9924
9931
  // package.json
9925
9932
  var package_default = {
9926
9933
  name: "@tscircuit/pcb-viewer",
9927
- version: "1.11.172",
9934
+ version: "1.11.173",
9928
9935
  main: "dist/index.js",
9929
9936
  type: "module",
9930
9937
  repository: "tscircuit/pcb-viewer",