Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

Merge pull request #105963 from luiz734/fix-issue-105769

Thaddeus Crewse9327acbe5e0
diff --cc scene/gui/spin_box.cpp
index 9fabf78037d,2a00fc24939..3bc9f3461b4
--- a/scene/gui/spin_box.cpp
+++ b/scene/gui/spin_box.cpp
@@@ -631,16 -600,9 +631,17 @@@ double SpinBox::get_custom_arrow_step(
return custom_arrow_step;
}
+void SpinBox::set_custom_arrow_round(bool p_round) {
+ custom_arrow_round = p_round;
+}
+
+bool SpinBox::is_custom_arrow_rounding() const {
+ return custom_arrow_round;
+}
+
void SpinBox::_value_changed(double p_value) {
_update_buttons_state_for_current_value();
+ Range::_value_changed(p_value);
}
void SpinBox::_update_buttons_state_for_current_value() {