You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Rename Control margin to offset
This commit is contained in:
@@ -558,7 +558,7 @@ ShaderEditor::ShaderEditor(EditorNode *p_node) {
|
||||
shader_editor = memnew(ShaderTextEditor);
|
||||
shader_editor->set_v_size_flags(SIZE_EXPAND_FILL);
|
||||
shader_editor->add_theme_constant_override("separation", 0);
|
||||
shader_editor->set_anchors_and_margins_preset(Control::PRESET_WIDE);
|
||||
shader_editor->set_anchors_and_offsets_preset(Control::PRESET_WIDE);
|
||||
|
||||
shader_editor->connect("script_changed", callable_mp(this, &ShaderEditor::apply_shaders));
|
||||
EditorSettings::get_singleton()->connect("settings_changed", callable_mp(this, &ShaderEditor::_editor_settings_changed));
|
||||
|
||||
Reference in New Issue
Block a user