mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-04 13:57:43 -07:00
Refine badge rendering
This commit is contained in:
parent
38f51bd77f
commit
fdf3e88032
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue