From 786ff06ed79aa8184ede7a1d62aa69320ff5f72b Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Fri, 1 Jul 2022 01:51:50 +0200 Subject: [PATCH] Fix window maximize error message appearing when starting the web editor An error message is no longer printed when trying to maximize the window in HTML5. This behavior is consistent with Android and iOS. --- platform/javascript/os_javascript.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/platform/javascript/os_javascript.cpp b/platform/javascript/os_javascript.cpp index b5cda922086..8e8ed77d17b 100644 --- a/platform/javascript/os_javascript.cpp +++ b/platform/javascript/os_javascript.cpp @@ -134,7 +134,6 @@ Size2 OS_JavaScript::get_window_size() const { } void OS_JavaScript::set_window_maximized(bool p_enabled) { - WARN_PRINT_ONCE("Maximizing windows is not supported for the HTML5 platform."); } bool OS_JavaScript::is_window_maximized() const {