ENH: preview slider behavior

1.add pauseprint will not cause preview page refresh
2.fix add custom Gcode window and jump to layer window cannot input after reslice

Change-Id: I4f75457b6d6172080715393c975169c8f16464b9
This commit is contained in:
liz.li 2023-01-09 15:51:31 +08:00 committed by Lane.Wei
parent 3d48e2dc55
commit b27a9e27ce
5 changed files with 11 additions and 4 deletions

View file

@ -385,9 +385,9 @@ void Preview::sys_color_changed()
void Preview::on_tick_changed(Type type)
{
if (type == Type::PausePrint) {
m_schedule_background_process();
}
//if (type == Type::PausePrint) {
// m_schedule_background_process();
//}
m_keep_current_preview_type = false;
reload_print(false);
}