mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 15:07:31 -06:00
ENH:optimized logic related to fan control
Change-Id: Ia67525bc75d4cc5be02eaf7131764fb0f9584f23
This commit is contained in:
parent
3e07db0c2a
commit
450f3e1c77
4 changed files with 42 additions and 19 deletions
|
@ -312,7 +312,7 @@ void FanSwitchButton::render(wxDC& dc)
|
|||
dc.SetTextForeground(text_color.colorForStates(states));
|
||||
|
||||
pt.x = (size.x - dc.GetTextExtent(speed).x) / 2;
|
||||
pt.y -= FromDIP(5);
|
||||
pt.y += FromDIP(1);
|
||||
dc.DrawText(speed, pt);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue