FIX:(mac) print button display issues
Change-Id: I3a5471b509d601b45722a5174ddb4dd132ca4350
This commit is contained in:
parent
57c6c3d797
commit
ffc86d15cf
1 changed files with 2 additions and 2 deletions
|
@ -214,9 +214,9 @@ void SideButton::render(wxDC& dc)
|
|||
dc.SetPen(wxNullPen);
|
||||
} else {
|
||||
dc.DrawRoundedRectangle(0, 0, size.x, size.y, radius);
|
||||
dc.DrawRectangle(0, 0, size.x - radius, size.y);
|
||||
dc.DrawRectangle(0, 0, radius, size.y);
|
||||
dc.SetPen(wxNullPen);
|
||||
dc.DrawRectangle(size.x - radius - pen_width, pen_width, 2 * pen_width, size.y - 2 * pen_width);
|
||||
dc.DrawRectangle(pen_width, pen_width, size.x - radius, size.y - 2 * pen_width);
|
||||
}
|
||||
} else {
|
||||
dc.DrawRectangle(0, 0, size.x, size.y);
|
||||
|
|
Loading…
Reference in a new issue