Merge pull request #77225 from JBrowne017/issue-77190

Allow up to INT32_MAX max size in Array/Dictionary editor
This commit is contained in:
Rémi Verschelde 2023-05-22 17:02:09 +02:00
commit 5d16efae9a
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -311,7 +311,7 @@ void EditorPropertyArray::update_property() {
size_slider = memnew(EditorSpinSlider);
size_slider->set_step(1);
size_slider->set_max(1000000);
size_slider->set_max(INT32_MAX);
size_slider->set_h_size_flags(SIZE_EXPAND_FILL);
size_slider->set_read_only(is_read_only());
size_slider->connect("value_changed", callable_mp(this, &EditorPropertyArray::_length_changed));