chore: correctly resolve merge conflicts and restore drawing tools implementation
This commit is contained in:
@ -101,7 +101,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<!-- Chart Container -->
|
<!-- Chart Container -->
|
||||||
<section class="relative w-full bg-[#0d1421] h-[60vh] md:h-[70vh]" data-purpose="chart-container" id="chartWrapper">
|
<section class="relative w-full bg-[#0d1421] h-[60vh] md:h-[70vh]" data-purpose="chart-container" id="chartWrapper">
|
||||||
<div id="chart" class="w-full h-full"></div>
|
<div id="chart" class="w-full h-full"></div>
|
||||||
|
|
||||||
|
|||||||
@ -394,7 +394,7 @@ export class TradingDashboard {
|
|||||||
if (candleDownInput) candleDownInput.value = savedDownColor;
|
if (candleDownInput) candleDownInput.value = savedDownColor;
|
||||||
|
|
||||||
// Calculate initial minMove based on saved precision
|
// Calculate initial minMove based on saved precision
|
||||||
const initialMinMove = savedPrecision === 0 ? 1 : Number((1 / Math.pow(10, savedPrecision)).toFixed(savedPrecision));
|
const initialMinMove = savedPrecision === 0 ? 1 : Number((1 / Math.pow(10, savedPrecision)).toFixed(precision));
|
||||||
|
|
||||||
this.candleSeries = this.chart.addSeries(LightweightCharts.CandlestickSeries, {
|
this.candleSeries = this.chart.addSeries(LightweightCharts.CandlestickSeries, {
|
||||||
upColor: savedUpColor,
|
upColor: savedUpColor,
|
||||||
|
|||||||
Reference in New Issue
Block a user