FIX: update the text and icon while mapping

jira: [STUDIO-11679]
Change-Id: Ia744c27e3236ffa7c2157867b026e91c210dd5bf
(cherry picked from commit e685e57839a2933f139cfb3fe98a30a5bc8c34af)
This commit is contained in:
xin.zhang
2025-04-21 15:15:44 +08:00
committed by Noisyfox
parent d2bbb02949
commit 5a7dee9add
4 changed files with 38 additions and 17 deletions

View File

@@ -1,3 +1,4 @@
<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12 4.37012C14.1549 4.37012 16.2215 5.22614 17.7452 6.74987C19.269 8.27361 20.125 10.3402 20.125 12.4951C20.125 14.65 19.269 16.7166 17.7452 18.2404C16.2215 19.7641 14.1549 20.6201 12 20.6201C9.84512 20.6201 7.77849 19.7641 6.25476 18.2404C4.73102 16.7166 3.875 14.65 3.875 12.4951C3.875 10.3402 4.73102 8.27361 6.25476 6.74987C7.77849 5.22614 9.84512 4.37012 12 4.37012ZM12 22.4951C14.6522 22.4951 17.1957 21.4415 19.0711 19.5662C20.9464 17.6908 22 15.1473 22 12.4951C22 9.84295 20.9464 7.29941 19.0711 5.42405C17.1957 3.54869 14.6522 2.49512 12 2.49512C9.34784 2.49512 6.8043 3.54869 4.92893 5.42405C3.05357 7.29941 2 9.84295 2 12.4951C2 15.1473 3.05357 17.6908 4.92893 19.5662C6.8043 21.4415 9.34784 22.4951 12 22.4951ZM12 7.49512C11.4805 7.49512 11.0625 7.91309 11.0625 8.43262V12.8076C11.0625 13.3271 11.4805 13.7451 12 13.7451C12.5195 13.7451 12.9375 13.3271 12.9375 12.8076V8.43262C12.9375 7.91309 12.5195 7.49512 12 7.49512ZM13.25 16.2451C13.25 15.9136 13.1183 15.5957 12.8839 15.3612C12.6495 15.1268 12.3315 14.9951 12 14.9951C11.6685 14.9951 11.3505 15.1268 11.1161 15.3612C10.8817 15.5957 10.75 15.9136 10.75 16.2451C10.75 16.5766 10.8817 16.8946 11.1161 17.129C11.3505 17.3634 11.6685 17.4951 12 17.4951C12.3315 17.4951 12.6495 17.3634 12.8839 17.129C13.1183 16.8946 13.25 16.5766 13.25 16.2451Z" fill="#D01B1B"/>
<svg width="35" height="25" viewBox="0 0 35 25" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M26.7876 10.739L29.899 13.8505C30.0943 14.0458 30.4109 14.0458 30.6061 13.8505L33.7177 10.739" stroke="#ACACAC" stroke-linecap="round"/>
<path d="M12 4.34668C14.1549 4.34668 16.2215 5.2027 17.7452 6.72644C19.269 8.25017 20.125 10.3168 20.125 12.4717C20.125 14.6266 19.269 16.6932 17.7452 18.2169C16.2215 19.7407 14.1549 20.5967 12 20.5967C9.84512 20.5967 7.77849 19.7407 6.25476 18.2169C4.73102 16.6932 3.875 14.6266 3.875 12.4717C3.875 10.3168 4.73102 8.25017 6.25476 6.72644C7.77849 5.2027 9.84512 4.34668 12 4.34668ZM12 22.4717C14.6522 22.4717 17.1957 21.4181 19.0711 19.5427C20.9464 17.6674 22 15.1238 22 12.4717C22 9.81951 20.9464 7.27598 19.0711 5.40061C17.1957 3.52525 14.6522 2.47168 12 2.47168C9.34784 2.47168 6.8043 3.52525 4.92893 5.40061C3.05357 7.27598 2 9.81951 2 12.4717C2 15.1238 3.05357 17.6674 4.92893 19.5427C6.8043 21.4181 9.34784 22.4717 12 22.4717ZM12 7.47168C11.4805 7.47168 11.0625 7.88965 11.0625 8.40918V12.7842C11.0625 13.3037 11.4805 13.7217 12 13.7217C12.5195 13.7217 12.9375 13.3037 12.9375 12.7842V8.40918C12.9375 7.88965 12.5195 7.47168 12 7.47168ZM13.25 16.2217C13.25 15.8902 13.1183 15.5722 12.8839 15.3378C12.6495 15.1034 12.3315 14.9717 12 14.9717C11.6685 14.9717 11.3505 15.1034 11.1161 15.3378C10.8817 15.5722 10.75 15.8902 10.75 16.2217C10.75 16.5532 10.8817 16.8711 11.1161 17.1056C11.3505 17.34 11.6685 17.4717 12 17.4717C12.3315 17.4717 12.6495 17.34 12.8839 17.1056C13.1183 16.8711 13.25 16.5532 13.25 16.2217Z" fill="#D01B1B"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB