@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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/internal.js +1 -1
- package/dist/internal.js.map +1 -1
- package/dist/pixi/PixiTradingRenderer.d.ts.map +1 -1
- package/dist/react/index.js +2 -2
- package/dist/react/index.js.map +1 -1
- package/dist/react/internal.js +2 -2
- package/dist/react/internal.js.map +1 -1
- package/package.json +1 -1
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 =
|
|
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;
|