diff options
| author | Juan Linietsky | 2016-07-26 17:24:34 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-07-26 17:25:10 -0300 |
| commit | 9151eb591dcab408d3a7e4d9e3b3874c2e281acf (patch) | |
| tree | 15531f24cc3ec63a13810bb442a68472f3f77de9 /scene/gui/spin_box.cpp | |
| parent | 8d4d167234e08fe0de74ea29814febd5b7a272f8 (diff) | |
| download | godot-9151eb591dcab408d3a7e4d9e3b3874c2e281acf.tar.gz godot-9151eb591dcab408d3a7e4d9e3b3874c2e281acf.tar.zst godot-9151eb591dcab408d3a7e4d9e3b3874c2e281acf.zip | |
Diffstat (limited to 'scene/gui/spin_box.cpp')
| -rw-r--r-- | scene/gui/spin_box.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/spin_box.cpp b/scene/gui/spin_box.cpp index 2b64d36a8..98e1a32ae 100644 --- a/scene/gui/spin_box.cpp +++ b/scene/gui/spin_box.cpp @@ -39,7 +39,7 @@ Size2 SpinBox::get_minimum_size() const { void SpinBox::_value_changed(double) { - String value = String::num(get_val(),Math::decimals(get_step())); + String value = String::num(get_val(),Math::step_decimals(get_step())); if (prefix!="") value=prefix+" "+value; if (suffix!="") |
