mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
FIX: Button text render pos on macOS
Change-Id: Icaa8cb95d81b3f906507dc74a3fcffc77a535fdb Jira: STUDIO-8026 (cherry picked from commit c1e4be1652e682a53b13a403e6ae6b2d00fddda6)
This commit is contained in:
@@ -359,7 +359,7 @@ void Button::render(wxDC& dc)
|
|||||||
dc.DrawRectangle(pt, textSize.GetSize());
|
dc.DrawRectangle(pt, textSize.GetSize());
|
||||||
#endif
|
#endif
|
||||||
#ifdef __WXOSX__
|
#ifdef __WXOSX__
|
||||||
pt.y -= textSize.x / 2;
|
pt.y -= this->textSize.x / 2;
|
||||||
#endif
|
#endif
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
if (Slic3r::is_mac_version_15()) {
|
if (Slic3r::is_mac_version_15()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user