1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-15 08:44:26 +00: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:
YuSanka
2019-08-20 15:26:57 +02:00
parent 03079d4928
commit 448d773da0
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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);