mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-01 11:32:21 +08:00
nav: draw inactive lanes with 50% opacity (#25157)
* nav: draw inactive lanes with 50% opacity * update ts old-commit-hash: 49dd56fc241d5ea3e0ab37e10175ad545ef4d528
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5229d184ca31e027d8c8d493b7d02a34c8097348aab97e10adc7fd78acf6a7fc
|
||||
size 7221
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fc6c17196f0e345e7c79b60faadd931755b3d1572125557ff263247e7b3a0b4b
|
||||
size 7239
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2cd32abafe04c8f79d3249a79a32473102ddab7770cb8be29d51b2743869fdaa
|
||||
size 5452
|
||||
@@ -526,6 +526,10 @@ void MapInstructions::updateInstructions(cereal::NavInstruction::Reader instruct
|
||||
fn += "turn_straight";
|
||||
}
|
||||
|
||||
if (!active) {
|
||||
fn += "_inactive";
|
||||
}
|
||||
|
||||
auto icon = new QLabel;
|
||||
int wh = active ? 125 : 75;
|
||||
icon->setPixmap(loadPixmap(fn + ICON_SUFFIX, {wh, wh}, Qt::IgnoreAspectRatio));
|
||||
|
||||
@@ -338,27 +338,27 @@
|
||||
<context>
|
||||
<name>MapETA</name>
|
||||
<message>
|
||||
<location filename="../qt/maps/map.cc" line="618"/>
|
||||
<location filename="../qt/maps/map.cc" line="622"/>
|
||||
<source>eta</source>
|
||||
<translation>도착</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/maps/map.cc" line="628"/>
|
||||
<location filename="../qt/maps/map.cc" line="632"/>
|
||||
<source>min</source>
|
||||
<translation>분</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/maps/map.cc" line="632"/>
|
||||
<location filename="../qt/maps/map.cc" line="636"/>
|
||||
<source>hr</source>
|
||||
<translation>시간</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/maps/map.cc" line="652"/>
|
||||
<location filename="../qt/maps/map.cc" line="656"/>
|
||||
<source>km</source>
|
||||
<translation>km</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/maps/map.cc" line="655"/>
|
||||
<location filename="../qt/maps/map.cc" line="659"/>
|
||||
<source>mi</source>
|
||||
<translation>mi</translation>
|
||||
</message>
|
||||
|
||||
@@ -338,27 +338,27 @@
|
||||
<context>
|
||||
<name>MapETA</name>
|
||||
<message>
|
||||
<location filename="../qt/maps/map.cc" line="618"/>
|
||||
<location filename="../qt/maps/map.cc" line="622"/>
|
||||
<source>eta</source>
|
||||
<translation>埃塔</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/maps/map.cc" line="628"/>
|
||||
<location filename="../qt/maps/map.cc" line="632"/>
|
||||
<source>min</source>
|
||||
<translation>分钟</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/maps/map.cc" line="632"/>
|
||||
<location filename="../qt/maps/map.cc" line="636"/>
|
||||
<source>hr</source>
|
||||
<translation>小时</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/maps/map.cc" line="652"/>
|
||||
<location filename="../qt/maps/map.cc" line="656"/>
|
||||
<source>km</source>
|
||||
<translation>km</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/maps/map.cc" line="655"/>
|
||||
<location filename="../qt/maps/map.cc" line="659"/>
|
||||
<source>mi</source>
|
||||
<translation>mi</translation>
|
||||
</message>
|
||||
|
||||
@@ -338,27 +338,27 @@
|
||||
<context>
|
||||
<name>MapETA</name>
|
||||
<message>
|
||||
<location filename="../qt/maps/map.cc" line="618"/>
|
||||
<location filename="../qt/maps/map.cc" line="622"/>
|
||||
<source>eta</source>
|
||||
<translation>埃塔</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/maps/map.cc" line="628"/>
|
||||
<location filename="../qt/maps/map.cc" line="632"/>
|
||||
<source>min</source>
|
||||
<translation>分鐘</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/maps/map.cc" line="632"/>
|
||||
<location filename="../qt/maps/map.cc" line="636"/>
|
||||
<source>hr</source>
|
||||
<translation>小時</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/maps/map.cc" line="652"/>
|
||||
<location filename="../qt/maps/map.cc" line="656"/>
|
||||
<source>km</source>
|
||||
<translation>km</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/maps/map.cc" line="655"/>
|
||||
<location filename="../qt/maps/map.cc" line="659"/>
|
||||
<source>mi</source>
|
||||
<translation>mi</translation>
|
||||
</message>
|
||||
|
||||
Reference in New Issue
Block a user