[引导线动效]修正车前引导线在车辆停止和启动后出现闪烁

This commit is contained in:
renwj
2022-06-27 16:05:00 +08:00
parent 575221fd1c
commit ff89d426c0
2 changed files with 3 additions and 3 deletions

View File

@@ -82,7 +82,7 @@ MOGO_LOCATION_VERSION=1.4.3.6
MOGO_TELEMATIC_VERSION=1.4.3.6
######## MogoAiCloudSDK Version ########
# 自研地图
MAP_SDK_VERSION=2.3.0.3
MAP_SDK_VERSION=2.3.0.4
MAP_SDK_OPERATION_VERSION=1.0.13
# websocket
WEBSOCKET_VERSION=1.1.7

View File

@@ -116,13 +116,13 @@ object RouteStrategy {
arrayOf(Colors.COLOR_RED_DARK, Colors.COLOR_BLUE_DARK, Colors.COLOR_BLUE_LIGHT, Colors.COLOR_TRANSPARENT)
}
else -> {
return Uniform(index)
return SpeedUp(index)
}
}
val indexes = ArrayList<Int>()
val i = indexes4SlowDown[2]
if (index - i < 5) {
return Uniform(index)
return SpeedUp(index)
}
indexes += 0
indexes += i