mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Style: clang-format: Disable AllowShortIfStatementsOnASingleLine
This commit is contained in:
parent
6e600cb3f0
commit
3d15f04668
128 changed files with 872 additions and 455 deletions
|
|
@ -120,7 +120,8 @@ bool OS_UWP::is_window_fullscreen() const {
|
|||
|
||||
void OS_UWP::set_keep_screen_on(bool p_enabled) {
|
||||
|
||||
if (is_keep_screen_on() == p_enabled) return;
|
||||
if (is_keep_screen_on() == p_enabled)
|
||||
return;
|
||||
|
||||
if (p_enabled)
|
||||
display_request->RequestActive();
|
||||
|
|
@ -873,7 +874,8 @@ void OS_UWP::run() {
|
|||
while (!force_quit) {
|
||||
|
||||
CoreWindow::GetForCurrentThread()->Dispatcher->ProcessEvents(CoreProcessEventsOption::ProcessAllIfPresent);
|
||||
if (managed_object->alert_close_handle) continue;
|
||||
if (managed_object->alert_close_handle)
|
||||
continue;
|
||||
process_events(); // get rid of pending events
|
||||
if (Main::iteration())
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue