Skip to content

Commit 79f39b2

Browse files
committed
Merge pull request #107467 from kitbdev/fix-debugger-inspector-size
Fix debugger inspector minimum size
2 parents c66d89d + b45d45e commit 79f39b2

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

editor/debugger/editor_debugger_inspector.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -417,18 +417,11 @@ void EditorDebuggerInspector::add_stack_variable(const Array &p_array, int p_off
417417
variables->prop_values[type + n][0] = v;
418418
variables->update();
419419
edit(variables);
420-
421-
// To prevent constantly resizing when using filtering.
422-
int size_x = get_size().x;
423-
if (size_x > get_custom_minimum_size().x) {
424-
set_custom_minimum_size(Size2(size_x, 0));
425-
}
426420
}
427421

428422
void EditorDebuggerInspector::clear_stack_variables() {
429423
variables->clear();
430424
variables->update();
431-
set_custom_minimum_size(Size2(0, 0));
432425
}
433426

434427
String EditorDebuggerInspector::get_stack_variable(const String &p_var) {

0 commit comments

Comments
 (0)