wine/dlls/light.msstyles/blue_scrollbar_thumb_vertical.svg
Zhiyi Zhang 730b6c0162 light.msstyles: Use #fefefe instead of #ffffff for scrollbar parts.
Fix Imperium: Greek Wars (1183470) launcher scrollbar largely drawn as transparent.

The application sets a hardcoded #ffffff as the color key for transparency. On Windows, the
scrollbar parts only have very few #ffffff pixels so the scrollbar is drawn as basically opaque.
If a theme that have many 0xffffff pixels is being used, then the bug reproduces as well on Windows.
I don't want to change the light theme style for this. So let's work around this by using #fefefe
instead of #ffffff. This have little difference visually.

Based on investigation done by Santino Mazza.
2024-04-18 20:54:25 +02:00

19 lines
1.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<svg id="bitmap:17-24" width="17" height="55" version="1.1" viewBox="0 0 4.4979 14.552" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<metadata>
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
</cc:Work>
</rdf:RDF>
</metadata>
<rect y="-.00012353" width="4.4979" height="14.552" fill="#fefefe" stroke-width=".26458"/>
<g fill="#fefefe" stroke-width=".26458">
<rect transform="rotate(90)" x=".13229" y="-4.3656" width="2.6458" height="4.2333" rx=".52916" ry=".52916" stroke="#aeaeae"/>
<rect transform="rotate(90)" x="3.0426" y="-4.3656" width="2.6458" height="4.2333" rx=".52916" ry=".52916" stroke="#3096fa"/>
<rect transform="rotate(90)" x="11.774" y="-4.3656" width="2.6458" height="4.2333" rx=".52916" ry=".52916" stroke="#3096fa"/>
<rect transform="rotate(90)" x="5.953" y="-4.3656" width="2.6458" height="4.2333" rx=".52916" ry=".52916" stroke="#2979ff"/>
<rect transform="rotate(90)" x="8.8634" y="-4.3656" width="2.6458" height="4.2333" rx=".52916" ry=".52916" stroke="#aeaeae"/>
</g>
</svg>