Fix different separations across different code editors

This commit is contained in:
Michael Alexsander 2025-12-16 12:51:23 -03:00
parent 5cb1ec5900
commit ec7bd419fc
No known key found for this signature in database
GPG key ID: A9C91EE110F4EABA
5 changed files with 4 additions and 12 deletions

View file

@ -38,7 +38,6 @@
#include "editor/settings/editor_settings.h"
#include "editor/themes/editor_scale.h"
#include "editor/themes/editor_theme_manager.h"
#include "scene/gui/separator.h"
#include "scene/gui/split_container.h"
#include "servers/rendering/shader_preprocessor.h"
#include "servers/rendering/shader_types.h"
@ -1185,7 +1184,6 @@ TextShaderEditor::TextShaderEditor() {
code_editor->connect("script_validated", callable_mp(this, &TextShaderEditor::_script_validated));
code_editor->set_v_size_flags(SIZE_EXPAND_FILL);
code_editor->add_theme_constant_override("separation", 0);
code_editor->set_anchors_and_offsets_preset(Control::PRESET_FULL_RECT);
code_editor->connect("show_warnings_panel", callable_mp(this, &TextShaderEditor::_show_warnings_panel));