From 8d06dd4371be684595044b06e8b0d41d03f38069 Mon Sep 17 00:00:00 2001 From: Yuri Roubinsky Date: Sun, 11 Apr 2021 13:29:35 +0300 Subject: [PATCH] Fix doc theme not changing when its hidding (cherry picked from commit 9a5cce35e609adb42dce4a5217ac41cbb609441f) --- editor/editor_help.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_help.cpp b/editor/editor_help.cpp index be6607c1e91..30f6e57dce6 100644 --- a/editor/editor_help.cpp +++ b/editor/editor_help.cpp @@ -1456,7 +1456,7 @@ void EditorHelp::_notification(int p_what) { _update_doc(); } break; case NOTIFICATION_THEME_CHANGED: { - if (is_visible_in_tree()) { + if (is_inside_tree()) { _class_desc_resized(); } } break;