You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Merge pull request #107467 from kitbdev/fix-debugger-inspector-size
Fix debugger inspector minimum size
This commit is contained in:
@@ -417,18 +417,11 @@ void EditorDebuggerInspector::add_stack_variable(const Array &p_array, int p_off
|
|||||||
variables->prop_values[type + n][0] = v;
|
variables->prop_values[type + n][0] = v;
|
||||||
variables->update();
|
variables->update();
|
||||||
edit(variables);
|
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() {
|
void EditorDebuggerInspector::clear_stack_variables() {
|
||||||
variables->clear();
|
variables->clear();
|
||||||
variables->update();
|
variables->update();
|
||||||
set_custom_minimum_size(Size2(0, 0));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
String EditorDebuggerInspector::get_stack_variable(const String &p_var) {
|
String EditorDebuggerInspector::get_stack_variable(const String &p_var) {
|
||||||
|
|||||||
Reference in New Issue
Block a user