good check
This commit is contained in:
parent
ad0a9e38dd
commit
a31c3dcb88
@ -2207,9 +2207,11 @@ public:
|
|||||||
int gap = params.getInt("LongitudinalPersonality") + 1;
|
int gap = params.getInt("LongitudinalPersonality") + 1;
|
||||||
dx = bx + 220;
|
dx = bx + 220;
|
||||||
dy = by + 77;
|
dy = by + 77;
|
||||||
sprintf(gap_str, "%d", gap);
|
//sprintf(gap_str, "%d", gap);
|
||||||
ui_draw_text(s, dx, dy, gap_str, 40, COLOR_WHITE, BOLD);
|
//ui_draw_text(s, dx, dy, gap_str, 40, COLOR_WHITE, BOLD);
|
||||||
if (gap_last != gap) ui_draw_text_a(s, dx, dy, gap_str, 40, COLOR_WHITE, BOLD);
|
sprintf(gap_str, "%.0f", v_cruise * 3.6); // 将 m/s 转换为 km/h
|
||||||
|
ui_draw_text(s, dx, dy, gap_str, 40, COLOR_WHITE, BOLD);// 移除动画效果相关代码
|
||||||
|
//if (gap_last != gap) ui_draw_text_a(s, dx, dy, gap_str, 40, COLOR_WHITE, BOLD);
|
||||||
gap_last = gap;
|
gap_last = gap;
|
||||||
|
|
||||||
dx = bx + 300 - 30;
|
dx = bx + 300 - 30;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user