mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 00:07:52 -06:00
ENH:set the fan gear at 10%
Change-Id: I4ccb62c0e047ccaec3b6a7ca02e03fd2ce320348
This commit is contained in:
parent
5dcf49e0f4
commit
64a635608c
3 changed files with 64 additions and 23 deletions
|
@ -303,9 +303,9 @@ void FanOperate::doRender(wxDC& dc)
|
|||
//txt
|
||||
dc.SetFont(::Label::Body_12);
|
||||
dc.SetTextForeground(StateColor::darkModeColorFor(wxColour(0x898989)));
|
||||
wxString text = wxString::Format("%d%%", m_current_speeds * 10);
|
||||
wxString text = wxString::Format("%d%%", 10);
|
||||
wxSize text_size = dc.GetTextExtent(text);
|
||||
dc.DrawText(text, wxPoint(left_fir + (left_fir- text_size.x) / 2, (size.y- text_size.y) / 2 + 2));
|
||||
dc.DrawText(text, wxPoint(left_fir + (left_fir- text_size.x) / 2, (size.y- text_size.y) / 2));
|
||||
}
|
||||
|
||||
void FanOperate::msw_rescale() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue