mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-15 17:09:43 -07:00
FIX: Button text render pos on macOS
Change-Id: Icaa8cb95d81b3f906507dc74a3fcffc77a535fdb Jira: STUDIO-8026 (cherry picked from commit c1e4be1652e682a53b13a403e6ae6b2d00fddda6)
This commit is contained in:
parent
51151a89c5
commit
30bce5df45
1 changed files with 1 additions and 1 deletions
|
|
@ -359,7 +359,7 @@ void Button::render(wxDC& dc)
|
|||
dc.DrawRectangle(pt, textSize.GetSize());
|
||||
#endif
|
||||
#ifdef __WXOSX__
|
||||
pt.y -= textSize.x / 2;
|
||||
pt.y -= this->textSize.x / 2;
|
||||
#endif
|
||||
#ifdef __APPLE__
|
||||
if (Slic3r::is_mac_version_15()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue