mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 02:43:29 +00:00
Merge pull request #88742 from MajorMcDoom/text-editor-zoom
Fix the text editor theme not being applied on editor start
This commit is contained in:
commit
e770a38d00
3 changed files with 6 additions and 7 deletions
|
|
@ -60,6 +60,7 @@
|
|||
#include "editor/plugins/shader_editor_plugin.h"
|
||||
#include "editor/plugins/text_shader_editor.h"
|
||||
#include "editor/themes/editor_scale.h"
|
||||
#include "editor/themes/editor_theme_manager.h"
|
||||
#include "editor/window_wrapper.h"
|
||||
#include "scene/main/node.h"
|
||||
#include "scene/main/window.h"
|
||||
|
|
@ -2784,7 +2785,8 @@ void ScriptEditor::_save_layout() {
|
|||
}
|
||||
|
||||
void ScriptEditor::_editor_settings_changed() {
|
||||
if (!EditorSettings::get_singleton()->check_changed_settings_in_group("interface/editor") &&
|
||||
if (!EditorThemeManager::is_generated_theme_outdated() &&
|
||||
!EditorSettings::get_singleton()->check_changed_settings_in_group("interface/editor") &&
|
||||
!EditorSettings::get_singleton()->check_changed_settings_in_group("text_editor") &&
|
||||
!EditorSettings::get_singleton()->check_changed_settings_in_group("docks/filesystem")) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue