fix: fixed distance tracking

This commit is contained in:
Савелий Савенок
2024-10-20 03:14:35 +03:00
parent a75ffcbfb8
commit dd8aa149af
3 changed files with 2 additions and 3 deletions

View File

@@ -24,7 +24,6 @@ function updateDistance(dist){
if(distWg){
hmUI.deleteWidget(distWg)
}
dist = (dist * 1000).toFixed(0)
distWg = hmUI.createWidget(hmUI.widget.TEXT_IMG, {
x: moduleX + 150,
y: moduleY,