mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
ENH:optimize device page lag
jira:[none] Change-Id: I0f6f1b257922d0e25152df9d42814551fa4a89ae (cherry picked from commit 570751668e120b92953593c38bf2469474e98d8f)
This commit is contained in:
@@ -276,8 +276,7 @@ void MonitorPanel::on_update_all(wxMouseEvent &event)
|
||||
{
|
||||
if (update_flag) {
|
||||
update_all();
|
||||
Layout();
|
||||
Refresh();
|
||||
//Layout();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -332,7 +331,8 @@ void MonitorPanel::on_printer_clicked(wxMouseEvent &event)
|
||||
void MonitorPanel::on_size(wxSizeEvent &event)
|
||||
{
|
||||
Layout();
|
||||
Refresh();
|
||||
//event.Skip();
|
||||
//Refresh();
|
||||
}
|
||||
|
||||
void MonitorPanel::update_all()
|
||||
@@ -508,7 +508,7 @@ void MonitorPanel::show_status(int status)
|
||||
m_upgrade_panel->update(nullptr);
|
||||
#endif
|
||||
|
||||
Freeze();
|
||||
//Freeze();
|
||||
// update panels
|
||||
if (m_side_tools) { m_side_tools->show_status(status); };
|
||||
m_status_info_panel->show_status(status);
|
||||
@@ -533,7 +533,7 @@ Freeze();
|
||||
m_tabpanel->Layout();
|
||||
}
|
||||
Layout();
|
||||
Thaw();
|
||||
//Thaw();
|
||||
}
|
||||
|
||||
std::string MonitorPanel::get_string_from_tab(PrinterTab tab)
|
||||
|
||||
Reference in New Issue
Block a user