mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Merge pull request #109491 from syntaxerror247/window-color
Android: Add method to set root window color at runtime
This commit is contained in:
commit
9283328fe7
10 changed files with 56 additions and 10 deletions
|
|
@ -690,6 +690,9 @@ void EditorNode::_update_theme(bool p_skip_creation) {
|
|||
editor_dock_manager->update_tab_styles();
|
||||
editor_dock_manager->update_docks_menu();
|
||||
editor_dock_manager->set_tab_icon_max_width(theme->get_constant(SNAME("class_icon_size"), EditorStringName(Editor)));
|
||||
#ifdef ANDROID_ENABLED
|
||||
DisplayServer::get_singleton()->window_set_color(theme->get_color(SNAME("background"), EditorStringName(Editor)));
|
||||
#endif
|
||||
}
|
||||
|
||||
Ref<Texture2D> EditorNode::_get_editor_theme_native_menu_icon(const StringName &p_name, bool p_global_menu, bool p_dark_mode) const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue