Fix theming update of shader editor

This commit is contained in:
Yuri Roubinsky 2022-01-19 08:31:39 +03:00
parent 30701e3966
commit 050f746e19
5 changed files with 66 additions and 27 deletions

View file

@ -55,11 +55,13 @@ class ShaderTextEditor : public CodeTextEditor {
RichTextLabel *warnings_panel = nullptr;
Ref<Shader> shader;
List<ShaderWarning> warnings;
Error last_compile_result = Error::OK;
void _check_shader_mode();
void _update_warning_panel();
protected:
void _notification(int p_what);
static void _bind_methods();
virtual void _load_theme_settings() override;