1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-17 14:11:06 +00:00

Fix doc theme not changing when its hidding

(cherry picked from commit 9a5cce35e6)
This commit is contained in:
Yuri Roubinsky
2021-04-11 13:29:35 +03:00
committed by Rémi Verschelde
parent 3756fbd463
commit 8d06dd4371

View File

@@ -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;