wine/dlls/light.msstyles/blue_scrollbar_thumb_horizontal.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

21 lines
1.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<svg id="bitmap:20-24" width="20" height="85" version="1.1" viewBox="0 0 5.2916 22.49" 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>
<g fill="#fefefe">
<rect x="-7.0588e-5" width="5.2918" height="22.49" fill="#fefefe" stroke-width=".070005"/>
<g stroke-width=".26458">
<rect x=".13229" y=".13229" width="5.0272" height="4.2333" rx=".52918" ry=".52918" stroke="#aeaeae"/>
<rect x=".13229" y="4.6302" width="5.0272" height="4.2333" rx=".52918" ry=".52918" stroke="#3096fa"/>
<rect x=".13223" y="18.124" width="5.0272" height="4.2333" rx=".52918" ry=".52918" stroke="#3096fa"/>
<rect x=".13229" y="9.1281" width="5.0272" height="4.2333" rx=".52918" ry=".52918" stroke="#2979ff"/>
<rect x=".13229" y="13.626" width="5.0272" height="4.2333" rx=".52918" ry=".52918" stroke="#aeaeae"/>
</g>
</g>
</svg>