Переглянути джерело

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