From c317a4cc427f71a7398b9b13ccc69a843d675133 Mon Sep 17 00:00:00 2001 From: Michael Alexsander Date: Wed, 21 Jan 2026 18:22:33 -0300 Subject: [PATCH] Fix blurry icons in the inspector dock's object selector --- editor/gui/editor_object_selector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/gui/editor_object_selector.cpp b/editor/gui/editor_object_selector.cpp index 759510d651..92e9ab9632 100644 --- a/editor/gui/editor_object_selector.cpp +++ b/editor/gui/editor_object_selector.cpp @@ -33,7 +33,6 @@ #include "editor/editor_data.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" -#include "editor/themes/editor_scale.h" #include "scene/gui/margin_container.h" Size2 EditorObjectSelector::get_minimum_size() const { @@ -218,6 +217,7 @@ EditorObjectSelector::EditorObjectSelector(EditorSelectionHistory *p_history) { current_object_icon = memnew(TextureRect); current_object_icon->set_stretch_mode(TextureRect::STRETCH_KEEP_ASPECT_CENTERED); current_object_icon->set_expand_mode(TextureRect::EXPAND_IGNORE_SIZE); + current_object_icon->set_v_size_flags(SIZE_SHRINK_CENTER); main_hb->add_child(current_object_icon); current_object_label = memnew(Label);