From 9a5cce35e609adb42dce4a5217ac41cbb609441f Mon Sep 17 00:00:00 2001 From: Yuri Roubinsky Date: Sun, 11 Apr 2021 13:29:35 +0300 Subject: Fix doc theme not changing when its hidding --- editor/editor_help.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor') diff --git a/editor/editor_help.cpp b/editor/editor_help.cpp index a747652a2f..3e3c7cfd3d 100644 --- a/editor/editor_help.cpp +++ b/editor/editor_help.cpp @@ -1593,7 +1593,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; -- cgit v1.2.3