mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-08 01:01:05 -07:00
Fix:filament svg icon error
jira: STUDIO-10223 Change-Id: I93f805cfa7780e666b4e2f2430c4fcdfa3de0c8a (cherry picked from commit e288462439ddf34db0bf10b55970d07ded662ccb)
This commit is contained in:
parent
013d83b62a
commit
0581ddd0ba
3 changed files with 41 additions and 2 deletions
|
|
@ -104,7 +104,7 @@ void ColorPanel::OnPaint(wxPaintEvent &event)
|
|||
std::string replace_color = m_color.GetAsString(wxC2S_HTML_SYNTAX).ToStdString();
|
||||
std::string svg_name = "filament_green";
|
||||
if (replace_color == "#FFFFFF00") {
|
||||
svg_name = "filament_transparent";
|
||||
svg_name = "filament_transparent2";
|
||||
}
|
||||
wxBitmap bmp = ScalableBitmap(this, svg_name, 40, false, false, false, { replace_color }).bmp();
|
||||
dc.DrawBitmap(bmp, wxPoint(0,0));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue