You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Reverts the change made to the editor progress dialog in faaecd6987
It was causing issues on Windows like, for example, when saving with CTRL+S the keys CTRL and S were stuck after saving and pressing only S would save the scene again until CTRL was pressed again.
This commit is contained in:
@@ -220,9 +220,8 @@ bool ProgressDialog::task_step(const String &p_task, const String &p_state, int
|
|||||||
last_progress_tick = OS::get_singleton()->get_ticks_usec();
|
last_progress_tick = OS::get_singleton()->get_ticks_usec();
|
||||||
if (cancel_hb->is_visible()) {
|
if (cancel_hb->is_visible()) {
|
||||||
OS::get_singleton()->force_process_input();
|
OS::get_singleton()->force_process_input();
|
||||||
} else {
|
|
||||||
OS::get_singleton()->process_and_drop_events();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Main::iteration(); // this will not work on a lot of platforms, so it's only meant for the editor
|
Main::iteration(); // this will not work on a lot of platforms, so it's only meant for the editor
|
||||||
return cancelled;
|
return cancelled;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user