@forgecharts/sdk 1.5.45 → 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.
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;