mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-26 14:25:12 -07:00
FIX: DropDown render y position
Change-Id: Ic8962de615f36477c8a7ac62cee4261cd9c259e5 Jira: STUDIO-12904 (cherry picked from commit 725fc1dec273ac848c166896558104b9b8c2bde3)
This commit is contained in:
parent
09c5768484
commit
7aca9f9535
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue