EtheaDev / SVGIconImageList

Three engines to render SVG (Delphi Image32, Skia4Delphi, Direct2D wrapper) and four components to simplify use of SVG images (resize, fixedcolor, grayscale...)
Apache License 2.0
327 stars 96 forks source link

DisabledOpacity value does not work correctly in TSVGIconVirtualImageList #212

Closed SQLGate closed 2 years ago

SQLGate commented 2 years ago

Describe the bug

DisabledOpacity value does not work correctly in TSVGIconVirtualImageList

Versions

To reproduce

Add TSVGIconImageCollection component to TDataModule Add TSVGIconVirtualImageList component to TDataModule Add svg icon in TSVGIconImageCollection component
Add svg icon in TSVGIconVirtualImageList component
Add button in form and images and imageindex assign button.enabled := false

Expected

The image color of enabled button is valid but i think image color of disabled button invalid. The image color of disabled button doesn't seem to be affected by DisabledOpacity of TSVGIconVirtualImageList

SQLGate commented 2 years ago

I didn't understand correctly. sorry.