mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 09:02:06 +00:00
Refine badge rendering
This commit is contained in:
@@ -21,6 +21,6 @@ void StaticGroup::DrawBorderAndLabel(wxDC& dc)
|
||||
LabeledStaticBox::DrawBorderAndLabel(dc);
|
||||
if (badge.bmp().IsOk()) {
|
||||
auto s = badge.bmp().GetScaledSize();
|
||||
dc.DrawBitmap(badge.bmp(), GetSize().x - s.x, 8);
|
||||
dc.DrawBitmap(badge.bmp(), GetSize().x - s.x, std::max(0, m_pos.y) + m_label_height / 2);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user