解决大地图移动后选中线路不显示卡片

This commit is contained in:
lishuo committed 2021-09-16 19:48:56 +08:00
1 parent 58fe43d59f
commit a999bf1b72
4 files changed
+3024 -23

No files matched your search

@@ -369,7 +369,7 @@ public class DeviceView : MonoBehaviour
case SensorType.Power:
return (connectedDevice as IPowerDevice).Power.ToString();
case SensorType.Speed:
return (connectedDevice as ISpeedDevice).Speed.ToString();
return (connectedDevice as ISpeedDevice).Speed.ToString("f1");
case SensorType.Trainer:
//powerValue.text = (connectedDevice as IPowerDevice).Power.ToString();
//cadenceValue.GetComponent<Text>().text = (connectedDevice as ICadenceDevice).Cadence.ToString();