leozide / leocad

A CAD application for creating virtual LEGO models
https://www.leocad.org
2.49k stars 211 forks source link

Icons on "Parts" list are glitchy for translucent colors #938

Open app4soft opened 1 month ago

app4soft commented 1 month ago

Describe the bug

Parts icons (previews) on "Parts" list are glitchy if choose any translucent color (or part itself is hardcoded to translucent color).

To Reproduce

Steps to reproduce the behavior:

  1. Select any translucent color to be used (note that some parts has translucent colors hardcoded too);
  2. Enable to show icons in "Parts" list;
  3. Look on parts icons.

Expected behavior

There should be no issue with parts icons on "Parts" list if translucent color is used.

Screenshots

LeoCAD-trans-clear-preview

Version (please complete the following information):

Crash information: None

Additional context None