[ui] fix touch icon rendering a black background (#4137)

This commit is contained in:
Mathieu Pellerin 2017-02-12 11:13:17 +07:00 committed by GitHub
parent 767e7a53c6
commit 9a7c829090
2 changed files with 2 additions and 20 deletions

View File

@ -1,19 +1 @@
<svg height="346.73749" width="254.8625" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<clipPath id="a">
<path d="m0 2773.93v-2773.93h2038.88v2773.93z"/>
</clipPath>
<g clip-path="url(#a)" transform="matrix(.125 0 0 -.125 0 346.7375)">
<path d="m1163.61 1931.1c-27.78-108.79-138.61-174.27-247.165-146.49-108.863 27.87-174.547 138.61-146.664 247.29 27.891 108.69 138.715 174.3 247.269 146.44 108.86-27.84 174.45-138.51 146.56-247.24" fill="#fff"/>
<path d="m1163.61 1931.1c-27.78-108.79-138.61-174.27-247.165-146.49-108.863 27.87-174.547 138.61-146.664 247.29 27.891 108.69 138.715 174.3 247.269 146.44 108.86-27.84 174.45-138.51 146.56-247.24z" fill="none" stroke="#a7a5a6" stroke-width="62.24110031"/>
<path d="m974.906 1937.68l377.614 495.59 54.13-40.57 153.78 381.23-323.6-253.7 54.13-40.64-377.608-495.61z" fill="#9a9a99"/>
<path d="m774.43 1405.45c-27.883-108.68-138.606-174.29-247.473-146.5-108.551 27.96-174.238 138.65-146.461 247.36 27.789 108.71 138.512 174.37 247.375 146.41 108.762-27.71 174.348-138.4 146.559-247.27" fill="#fff"/>
<path d="m774.43 1405.45c-27.883-108.68-138.606-174.29-247.473-146.5-108.551 27.96-174.238 138.65-146.461 247.36 27.789 108.71 138.512 174.37 247.375 146.41 108.762-27.71 174.348-138.4 146.559-247.27z" fill="none" stroke="#a7a5a6" stroke-width="62.24110031"/>
<path d="m555.156 1503.19l-347.242-467.52-54.023 40.61-153.891-381.171 323.594 253.571-54.121 40.629 347.136 467.581z" fill="#9a9a99"/>
<path d="m634.066 1208.05c-27.89-108.74-138.605-174.32-247.367-146.48-108.652 27.94-174.344 138.69-146.562 247.23 27.679 108.85 138.508 174.48 247.367 146.48 108.762-27.72 174.242-138.34 146.562-247.23" fill="#fff"/>
<path d="m634.066 1208.05c-27.89-108.74-138.605-174.32-247.367-146.48-108.652 27.94-174.344 138.69-146.562 247.23 27.679 108.85 138.508 174.48 247.367 146.48 108.762-27.72 174.242-138.34 146.562-247.23z" fill="none" stroke="#100f0d" stroke-width="62.24110031"/>
<path d="m1323.19 2117.7c-27.78-108.81-138.51-174.34-247.16-146.47-108.874 27.88-174.452 138.57-146.565 247.23 27.992 108.71 138.495 174.33 247.365 146.51 108.66-27.8 174.35-138.61 146.36-247.27" fill="#fff"/>
<path d="m1323.19 2117.7c-27.78-108.81-138.51-174.34-247.16-146.47-108.874 27.88-174.452 138.57-146.565 247.23 27.992 108.71 138.495 174.33 247.365 146.51 108.66-27.8 174.35-138.61 146.36-247.27z" fill="none" stroke="#100f0d" stroke-width="62.24110031"/>
<path d="m2008.17 184.641c0 0-61.35 374.211-62.27 415-.62 40.41-3.92 296.691 20.75 404.529 34.29 150.53 63 337.5-31.1 373.45-37.07 14.25-78.16 88.54-78.16 88.54 0 0-24.18 58.12-50.82 69.33-58.89 24.94-138.72 19.57-138.72 19.57 0 0-23.55 23.58-26.34 35.56-2.58 11.18-61.25 89.83-124.14 100.47-53.62 9.19-109.9-88.67-112.07-55.98-1.13 16.29-1.55 110.92-71.48 258.57-64.55 135.9-106.89 276.71-118.98 299.22-24.38 44.93-45.34 64.71-96.68 49.53-51.22-15.11-77.46-26.65-67.96-109.31 4.14-35.35 48.13-185.91 79.54-295.37 50.8-178.4 33.46-388.51 27.77-420.01-10.01-54.82-25.09-230.37-110.41-255.52-85.518-25.16-140.358-15.45-282.065 98.82-141.504 114.38-218.453 136.15-279.082 114.51-60.523-21.5-150.277-70.44-133.648-113.66 16.633-43.46-10.535-14.37 135.199-105.13 145.637-90.7 181.578-161.99 234.461-227.998 53.086-66.121 277.836-349.133 412.005-413.582 134.47-64.371 205.33-392.782 192.31-511.80109" fill="#fff"/>
<path d="m2008.17 184.641c0 0-61.35 374.211-62.27 415-.62 40.41-3.92 296.691 20.75 404.529 34.29 150.53 63 337.5-31.1 373.45-37.07 14.25-78.16 88.54-78.16 88.54 0 0-24.18 58.12-50.82 69.33-58.89 24.94-138.72 19.57-138.72 19.57 0 0-23.55 23.58-26.34 35.56-2.58 11.18-61.25 89.83-124.14 100.47-53.62 9.19-109.9-88.67-112.07-55.98-1.13 16.29-1.55 110.92-71.48 258.57-64.55 135.9-106.89 276.71-118.98 299.22-24.38 44.93-45.34 64.71-96.68 49.53-51.22-15.11-77.46-26.65-67.96-109.31 4.14-35.35 48.13-185.91 79.54-295.37 50.8-178.4 33.46-388.51 27.77-420.01-10.01-54.82-25.09-230.37-110.41-255.52-85.518-25.16-140.358-15.45-282.065 98.82-141.504 114.38-218.453 136.15-279.082 114.51-60.523-21.5-150.277-70.44-133.648-113.66 16.633-43.46-10.535-14.37 135.199-105.13 145.637-90.7 181.578-161.99 234.461-227.998 53.086-66.121 277.836-349.133 412.005-413.582 134.47-64.371 205.33-392.782 192.31-511.80109" fill="none" stroke="#100f0d" stroke-width="62.24110031"/>
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 6.3499999 6.3500002"><path d="M3.59 1.927c-.062.25-.303.4-.54.335-.235-.064-.378-.317-.318-.565.06-.25.302-.4.538-.335.237.063.38.316.32.565" fill="#fff"/><path d="M3.59 1.927c-.062.25-.303.4-.54.335-.235-.064-.378-.317-.318-.565.06-.25.302-.4.538-.335.237.063.38.316.32.565z" fill="none" stroke="#a7a5a6" stroke-width=".132"/><path d="M3.178 1.912L4 .78l.117.09.335-.87-.704.58.118.093-.82 1.133z" fill="#9a9a99"/><path d="M2.743 3.13c-.06.248-.302.398-.54.334-.235-.064-.378-.317-.317-.565.06-.25.3-.4.538-.336.236.063.38.316.32.565" fill="#fff"/><path d="M2.743 3.13c-.06.248-.302.398-.54.334-.235-.064-.378-.317-.317-.565.06-.25.3-.4.538-.336.236.063.38.316.32.565z" fill="none" stroke="#a7a5a6" stroke-width=".132"/><path d="M2.266 2.906l-.756 1.07-.117-.094-.335.872.704-.58-.118-.093.755-1.068z" fill="#9a9a99"/><path d="M2.437 3.58c-.06.25-.3.4-.538.336-.237-.064-.38-.318-.32-.566.06-.25.302-.4.54-.335.235.064.377.317.317.566" fill="#fff"/><path d="M2.437 3.58c-.06.25-.3.4-.538.336-.237-.064-.38-.318-.32-.566.06-.25.302-.4.54-.335.235.064.377.317.317.566z" fill="none" stroke="#100f0d" stroke-width=".132"/><path d="M3.936 1.5c-.06.25-.3.4-.538.335-.236-.064-.38-.317-.318-.565.06-.25.3-.4.538-.335.236.063.38.317.318.565" fill="#fff"/><path d="M3.936 1.5c-.06.25-.3.4-.538.335-.236-.064-.38-.317-.318-.565.06-.25.3-.4.538-.335.236.063.38.317.318.565z" fill="none" stroke="#100f0d" stroke-width=".132"/><path d="M5.426 5.92s-.134-.855-.136-.948c0-.092-.008-.678.045-.925.075-.344.137-.772-.067-.854-.08-.033-.17-.203-.17-.203s-.053-.133-.11-.158c-.13-.057-.303-.045-.303-.045s-.05-.054-.057-.08c-.005-.027-.133-.207-.27-.23-.116-.022-.24.202-.244.127-.002-.037-.003-.254-.155-.59-.14-.312-.233-.634-.26-.686-.053-.102-.098-.148-.21-.113-.11.035-.168.06-.148.25.01.08.105.425.173.676.11.41.073.89.06.96-.02.126-.054.528-.24.585-.185.058-.305.036-.613-.226s-.475-.312-.607-.262c-.13.05-.327.16-.29.26.036.1-.023.032.294.24.315.207.393.37.508.52.116.153.605.8.896.947.293.147.447.9.42 1.17" fill="#fff"/><path d="M5.16 6.085c.106 0 .273-.06.243-.164-.08-.283-.11-.878-.113-.948 0-.092-.008-.678.045-.925.075-.344.137-.772-.067-.854-.08-.033-.17-.203-.17-.203s-.053-.133-.11-.158c-.13-.057-.303-.045-.303-.045s-.05-.054-.057-.08c-.005-.027-.133-.207-.27-.23-.116-.022-.24.202-.244.127-.002-.037-.003-.254-.155-.59-.14-.312-.233-.634-.26-.686-.053-.102-.098-.148-.21-.113-.11.035-.168.06-.148.25.01.08.105.425.173.676.11.41.073.89.06.96-.02.126-.054.528-.24.585-.185.058-.305.036-.613-.226s-.475-.312-.607-.262c-.13.05-.327.16-.29.26.036.1-.023.032.294.24.315.207.393.37.508.52.116.153.605.8.896.947.216.11.357.547.404.878.017.117.993.042 1.258.042" fill="none" stroke="#100f0d" stroke-width=".265"/></svg>

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -1884,7 +1884,7 @@ Ctrl (Cmd) increments by 15 deg.</string>
</property>
<property name="icon">
<iconset>
<normaloff>:/images/themes/default/mActionTouch.png</normaloff>:/images/themes/default/mActionTouch.png</iconset>
<normaloff>:/images/themes/default/mActionTouch.svg</normaloff>:/images/themes/default/mActionTouch.svg</iconset>
</property>
<property name="text">
<string>Touch Zoom and Pan</string>