1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #107467 from kitbdev/fix-debugger-inspector-size

Fix debugger inspector minimum size
This commit is contained in:
Rémi Verschelde
2025-06-13 01:31:00 +02:00

View File

@@ -417,18 +417,11 @@ void EditorDebuggerInspector::add_stack_variable(const Array &p_array, int p_off
variables->prop_values[type + n][0] = v;
variables->update();
edit(variables);
// To prevent constantly resizing when using filtering.
int size_x = get_size().x;
if (size_x > get_custom_minimum_size().x) {
set_custom_minimum_size(Size2(size_x, 0));
}
}
void EditorDebuggerInspector::clear_stack_variables() {
variables->clear();
variables->update();
set_custom_minimum_size(Size2(0, 0));
}
String EditorDebuggerInspector::get_stack_variable(const String &p_var) {