mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: DropDown render y position
Change-Id: Ic8962de615f36477c8a7ac62cee4261cd9c259e5 Jira: STUDIO-12904 (cherry picked from commit 725fc1dec273ac848c166896558104b9b8c2bde3)
This commit is contained in:
@@ -405,7 +405,7 @@ void DropDown::render(wxDC &dc)
|
||||
if (group.IsEmpty() && !item.group.IsEmpty()) {
|
||||
auto szBmp = arrow_bitmap.GetBmpSize();
|
||||
pt.x = rcContent.GetRight() - szBmp.x - 5;
|
||||
pt.y = rcContent.y += (rcContent.height - szBmp.y) / 2;
|
||||
pt.y = rcContent.y + (rcContent.height - szBmp.y) / 2;
|
||||
dc.DrawBitmap(arrow_bitmap.bmp(), pt);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user