diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2024-01-16 12:55:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-16 12:55:01 +0100 |
commit | 4b55c81ebae48c53e88654a42c04365391b6159d (patch) | |
tree | 842d2a5d83aaff9bd82e56e77c9412d735967e10 /editor/plugins/asset_library_editor_plugin.cpp | |
parent | 6bb89c71ff65ee117a7dce4576026d716ee390e5 (diff) | |
parent | dc3b07e5515f71ee4a0c55217b12e98e098ea3e9 (diff) | |
download | redot-engine-4b55c81ebae48c53e88654a42c04365391b6159d.tar.gz |
Merge pull request #87085 from YuriSizov/editor-improved-theme-flexibility
Refactor editor theme generation and add spacing presets
Diffstat (limited to 'editor/plugins/asset_library_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/asset_library_editor_plugin.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/plugins/asset_library_editor_plugin.cpp b/editor/plugins/asset_library_editor_plugin.cpp index 36a0b46d92..2012955686 100644 --- a/editor/plugins/asset_library_editor_plugin.cpp +++ b/editor/plugins/asset_library_editor_plugin.cpp @@ -37,11 +37,11 @@ #include "core/version.h" #include "editor/editor_node.h" #include "editor/editor_paths.h" -#include "editor/editor_scale.h" #include "editor/editor_settings.h" #include "editor/editor_string_names.h" #include "editor/gui/editor_file_dialog.h" #include "editor/project_settings_editor.h" +#include "editor/themes/editor_scale.h" #include "scene/gui/menu_button.h" #include "scene/resources/image_texture.h" @@ -417,7 +417,6 @@ void EditorAssetLibraryItemDownload::configure(const String &p_title, int p_asse void EditorAssetLibraryItemDownload::_notification(int p_what) { switch (p_what) { - case NOTIFICATION_ENTER_TREE: case NOTIFICATION_THEME_CHANGED: { panel->add_theme_style_override("panel", get_theme_stylebox(SNAME("panel"), SNAME("AssetLib"))); status->add_theme_color_override("font_color", get_theme_color(SNAME("status_color"), SNAME("AssetLib"))); |