浏览代码

Fix incorrect coloring of in-editor documentation when theme changed

Yuri Roubinsky 5 年之前
父节点
当前提交
c1bd94c2a4
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      editor/editor_help.cpp

+ 4 - 0
editor/editor_help.cpp

@@ -1467,6 +1467,10 @@ void EditorHelp::_notification(int p_what) {
 
 			_update_doc();
 		} break;
+		case NOTIFICATION_THEME_CHANGED: {
+
+			_class_desc_resized();
+		} break;
 		default: break;
 	}
 }