mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 00:37:51 -06:00
Fixed default transparency for ColorPicker from sidebar (was appeared under OSX for empty extruder color).
+ Fixed wrong getting of instance printable value inside add_object_to_list()
This commit is contained in:
parent
03079d4928
commit
448d773da0
2 changed files with 3 additions and 3 deletions
|
@ -290,7 +290,7 @@ wxBitmapComboBox(parent, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize(15 *
|
|||
auto colors = static_cast<ConfigOptionStrings*>(cfg->option("extruder_colour")->clone());
|
||||
wxColour clr(colors->values[extruder_idx]);
|
||||
if (!clr.IsOk())
|
||||
clr = wxTransparentColour;
|
||||
clr = wxColour(0,0,0); // Don't set alfa to transparence
|
||||
|
||||
auto data = new wxColourData();
|
||||
data->SetChooseFull(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue