FIX: [STUDIO-3121] load ams color erase ff alpha

Change-Id: Id6984e3a159bfea0bb644c77c993e7a71eb8f149
This commit is contained in:
chunmao.guo 2023-06-07 17:58:38 +08:00 committed by Lane.Wei
parent 9c251c59ec
commit f2b8604088
3 changed files with 10 additions and 7 deletions

View file

@ -916,6 +916,7 @@ void PlaterPresetComboBox::update()
//unsigned char rgb[3];
filament_color = m_preset_bundle->project_config.opt_string("filament_colour", (unsigned int) m_filament_idx);
wxColor clr(filament_color);
clr_picker->SetBackgroundColour(clr);
clr_picker->SetBitmap(*get_extruder_color_icons(true)[m_filament_idx]);
#ifdef __WXOSX__
clr_picker->SetLabel(clr_picker->GetLabel()); // Let setBezelStyle: be called