diff options
Diffstat (limited to 'editor/plugins/shader_editor_plugin.h')
-rw-r--r-- | editor/plugins/shader_editor_plugin.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/plugins/shader_editor_plugin.h b/editor/plugins/shader_editor_plugin.h index ea50d62b8f..84c5a620a7 100644 --- a/editor/plugins/shader_editor_plugin.h +++ b/editor/plugins/shader_editor_plugin.h @@ -86,6 +86,8 @@ class ShaderEditorPlugin : public EditorPlugin { ShaderCreateDialog *shader_create_dialog = nullptr; + float text_shader_zoom_factor = 1.0f; + void _update_shader_list(); void _shader_selected(int p_index); void _shader_list_clicked(int p_item, Vector2 p_local_mouse_pos, MouseButton p_mouse_button_index); @@ -106,6 +108,8 @@ class ShaderEditorPlugin : public EditorPlugin { void _window_changed(bool p_visible); + void _set_text_shader_zoom_factor(float p_zoom_factor); + protected: void _notification(int p_what); |