mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-25 05:04:58 +00:00
FIX: backend get the extruder id based on filament_map
Change-Id: Ib7679c0fc67336e462467dab9f5b4d4684d6eb19 (cherry picked from commit dcd9fd501354da33baea2adc0f645fabe8880cf1)
This commit is contained in:
@@ -60,7 +60,7 @@ void SidePopup::Popup(wxWindow* focus)
|
||||
#ifdef __APPLE__
|
||||
pos.x = pos.x - FromDIP(20);
|
||||
#endif // __APPLE__
|
||||
|
||||
|
||||
if (pos.x + max_width > screenwidth)
|
||||
Position({pos.x - (pos.x + max_width - screenwidth),pos.y}, {0, focus->GetSize().y + 12});
|
||||
else
|
||||
@@ -88,7 +88,7 @@ void SidePopup::Create()
|
||||
size.x = max_width;
|
||||
btn->SetMinSize(size);
|
||||
btn->SetSize(size);
|
||||
sizer->Add(btn, 0, 0, 0);
|
||||
sizer->Add(btn, 0, 0, 0);
|
||||
}
|
||||
|
||||
SetSize(wxSize(max_width, height));
|
||||
|
||||
Reference in New Issue
Block a user