You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Add a separate application focus/in notification out from Window focus notification.
This commit is contained in:
@@ -200,7 +200,7 @@ void ShaderFileEditor::_update_options() {
|
||||
}
|
||||
|
||||
void ShaderFileEditor::_notification(int p_what) {
|
||||
if (p_what == NOTIFICATION_WM_FOCUS_IN) {
|
||||
if (p_what == NOTIFICATION_WM_WINDOW_FOCUS_IN) {
|
||||
if (is_visible_in_tree() && shader_file.is_valid()) {
|
||||
_update_options();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user