mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
ENH:optimized logic related to fan control
Change-Id: Ia67525bc75d4cc5be02eaf7131764fb0f9584f23
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user