소스 검색

Fix doc theme not changing when its hidding

Yuri Roubinsky 4 년 전
부모
커밋
9a5cce35e6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      editor/editor_help.cpp

+ 1 - 1
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;