@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.
package/dist/internal.js CHANGED
@@ -8010,7 +8010,7 @@ var PixiTradingRenderer = class {
8010
8010
  if (this._draggingPill) {
8011
8011
  const color = this._draggingPill.kind === "tp" ? TP_PILL_COLOR : SL_PILL_COLOR;
8012
8012
  const pillY = this._draggingPill.y;
8013
- const pillX = this._draggingPill.kind === "tp" ? PILL_TP_X : PILL_SL_X;
8013
+ const pillX = Math.max(0, plotWidth - LABEL_GAP - PILL_W);
8014
8014
  const previewY = Math.round(pillY + PILL_H / 2) + 0.5;
8015
8015
  this._lineGfx.setStrokeStyle({ color, width: 1, alpha: 0.5 });
8016
8016
  let cx = 0;