mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 00:37:51 -06:00
Extruder selection for multiple selected objects/parts.
A Menu with colored icons is used now instead of wxGetSingleChoice. All menus for extruder selection use colored icon
This commit is contained in:
parent
860571d51d
commit
3631e938b2
3 changed files with 33 additions and 25 deletions
|
@ -543,7 +543,7 @@ std::vector<wxBitmap*> get_extruder_color_icons(bool thin_icon/* = false*/)
|
|||
* and scale them in respect to em_unit value
|
||||
*/
|
||||
const double em = Slic3r::GUI::wxGetApp().em_unit();
|
||||
const int icon_width = lround((thin_icon ? 1 : 3.2) * em);
|
||||
const int icon_width = lround((thin_icon ? 1.6 : 3.2) * em);
|
||||
const int icon_height = lround(1.6 * em);
|
||||
|
||||
for (const std::string& color : colors)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue