tvcharts 0.9.24 → 0.9.25
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.
|
@@ -674,8 +674,10 @@ var PlaybackOrderView = /** @class */function (_super) {
|
|
|
674
674
|
var buttonCount = 1 + (order.stopProfit ? 0 : 1) + (order.stopLoss ? 0 : 1);
|
|
675
675
|
var buttonWidth = labelRectWidth * buttonCount + orderTpLMargin + 1 + descLMargin;
|
|
676
676
|
var isOverlay = rect.width < descRectWidth + buttonWidth + circleR;
|
|
677
|
-
|
|
678
|
-
|
|
677
|
+
// let baseX = rect.width / 2;
|
|
678
|
+
// let circleMargin = Math.min(maxCircleMargin, (leftRectWidth - circleR - descRectWidth /2) / 2);
|
|
679
|
+
var baseX = rect.width - circleR - descRectWidth / 2 - 60;
|
|
680
|
+
var circleMargin = 30;
|
|
679
681
|
if (isOverlay) {
|
|
680
682
|
baseX = rect.width - circleR - descRectWidth / 2;
|
|
681
683
|
circleMargin = 0;
|