FIX: backend get the extruder id based on filament_map

Change-Id: Ib7679c0fc67336e462467dab9f5b4d4684d6eb19
(cherry picked from commit dcd9fd501354da33baea2adc0f645fabe8880cf1)
This commit is contained in:
zhimin.zeng
2024-07-02 19:26:52 +08:00
committed by Noisyfox
parent f5d2a1bc0c
commit 8db3e3cd54
20 changed files with 193 additions and 131 deletions

View File

@@ -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));