@forgecharts/sdk 1.5.44 → 1.5.46

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.
@@ -1557,12 +1557,18 @@ select {
1557
1557
  /* Build identity in the status bar. Muted and monospace so it reads as
1558
1558
  metadata rather than a control, and never competes with the toolbar
1559
1559
  buttons beside it. */
1560
+ /* Build identity. Muted, but readable: it set no colour at all, so it inherited
1561
+ whatever the embedding page happened to use — which on a host with dark text
1562
+ put dark-on-dark in the toolbar — and then halved it with opacity 0.5. That
1563
+ measured 2.16:1 in dark and 2.32:1 in light, failing both. --text-muted is
1564
+ the token its readable neighbours use, and carries the de-emphasis on its
1565
+ own: 5.92:1 and 7.46:1. */
1560
1566
  .bottom-bar-version {
1561
1567
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1562
1568
  font-size: 10px;
1563
1569
  line-height: 1;
1564
1570
  padding: 0 6px 0 2px;
1565
- opacity: 0.5;
1571
+ color: var(--text-muted);
1566
1572
  user-select: text;
1567
1573
  white-space: nowrap;
1568
1574
  }
package/dist/index.js CHANGED
@@ -8000,7 +8000,7 @@ var PixiTradingRenderer = class {
8000
8000
  if (this._draggingPill) {
8001
8001
  const color = this._draggingPill.kind === "tp" ? TP_PILL_COLOR : SL_PILL_COLOR;
8002
8002
  const pillY = this._draggingPill.y;
8003
- const pillX = this._draggingPill.kind === "tp" ? PILL_TP_X : PILL_SL_X;
8003
+ const pillX = Math.max(0, plotWidth - LABEL_GAP - PILL_W);
8004
8004
  const previewY = Math.round(pillY + PILL_H / 2) + 0.5;
8005
8005
  this._lineGfx.setStrokeStyle({ color, width: 1, alpha: 0.5 });
8006
8006
  let cx = 0;