mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Add deprecation notice to a duplicate method of class Window
This commit is contained in:
parent
26b1fd0d84
commit
06534f8ad5
4 changed files with 11 additions and 9 deletions
|
|
@ -2350,7 +2350,7 @@ void ProjectConverter3To4::process_gdscript_line(String &line, const RegExContai
|
|||
line = line.replace("OS.is_window_focused", "get_window().has_focus");
|
||||
}
|
||||
if (line.contains("OS.move_window_to_foreground")) {
|
||||
line = line.replace("OS.move_window_to_foreground", "get_window().move_to_foreground");
|
||||
line = line.replace("OS.move_window_to_foreground", "get_window().grab_focus");
|
||||
}
|
||||
if (line.contains("OS.request_attention")) {
|
||||
line = line.replace("OS.request_attention", "get_window().request_attention");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue