@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/react/internal.js
CHANGED
|
@@ -7948,7 +7948,7 @@ var PixiTradingRenderer = class {
|
|
|
7948
7948
|
if (this._draggingPill) {
|
|
7949
7949
|
const color = this._draggingPill.kind === "tp" ? TP_PILL_COLOR : SL_PILL_COLOR;
|
|
7950
7950
|
const pillY = this._draggingPill.y;
|
|
7951
|
-
const pillX =
|
|
7951
|
+
const pillX = Math.max(0, plotWidth - LABEL_GAP - PILL_W);
|
|
7952
7952
|
const previewY = Math.round(pillY + PILL_H / 2) + 0.5;
|
|
7953
7953
|
this._lineGfx.setStrokeStyle({ color, width: 1, alpha: 0.5 });
|
|
7954
7954
|
let cx = 0;
|
|
@@ -26941,7 +26941,7 @@ function _guessFrontMonth(product, months) {
|
|
|
26941
26941
|
}
|
|
26942
26942
|
|
|
26943
26943
|
// src/version.ts
|
|
26944
|
-
var FORGECHARTS_VERSION = "1.5.
|
|
26944
|
+
var FORGECHARTS_VERSION = "1.5.46" ;
|
|
26945
26945
|
var TIMEZONE_OPTIONS = [
|
|
26946
26946
|
{ label: "UTC", value: "UTC" },
|
|
26947
26947
|
{ label: "Exchange", value: "exchange" },
|