st-comp 0.0.177 → 0.0.178

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "st-comp",
3
3
  "public": true,
4
- "version": "0.0.177",
4
+ "version": "0.0.178",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
@@ -660,10 +660,10 @@ const drawScreenMaxPrice = () => {
660
660
  let formatter = `←${maxPrice}`;
661
661
  if (positionInView > 0.7) {
662
662
  position = "left";
663
- formatter = `${maxPrice}→`;
663
+ formatter = `${round(maxPrice)}→`;
664
664
  } else {
665
665
  position = "right";
666
- formatter = `←${maxPrice}`;
666
+ formatter = `←${round(maxPrice)}`;
667
667
  }
668
668
  mainChartIns?.setOption(
669
669
  {