[6.2.6] fix bug of far away car model

This commit is contained in:
EmArrow
2024-01-04 11:39:53 +08:00
parent 50a9a54f61
commit 491989f5a4
3 changed files with 23 additions and 17 deletions

View File

@@ -157,6 +157,9 @@ enum class TrafficTypeEnum(
TYPE_TRAFFIC_ID_CAMERA.type -> R.raw.shexiangtou
TYPE_TRAFFIC_ID_SPECIAL_VEHICLE.type -> R.raw.special_vehicle
TYPE_TRAFFIC_ID_DAO_LU_SHI_GONG.type -> R.raw.v2x_shigong_warning
TYPE_TRAFFIC_ID_LUCE_TA_CHE.type -> R.raw.lucexiaoche
TYPE_TRAFFIC_ID_LUCE_BUS.type -> R.raw.lucedaba
TYPE_TRAFFIC_ID_LUCE_TRUCK.type -> R.raw.lucedaba
else -> R.raw.traffic_xiankuang
}
} else {
@@ -191,6 +194,9 @@ enum class TrafficTypeEnum(
TYPE_TRAFFIC_ID_CAMERA.type -> R.raw.shexiangtou
TYPE_TRAFFIC_ID_SPECIAL_VEHICLE.type -> R.raw.special_vehicle
TYPE_TRAFFIC_ID_DAO_LU_SHI_GONG.type -> R.raw.v2x_shigong_warning
TYPE_TRAFFIC_ID_LUCE_TA_CHE.type -> R.raw.lucexiaoche
TYPE_TRAFFIC_ID_LUCE_BUS.type -> R.raw.lucedaba
TYPE_TRAFFIC_ID_LUCE_TRUCK.type -> R.raw.lucedaba
else -> R.raw.traffic_xiankuang
}
} else {