summaryrefslogtreecommitdiffstats
path: root/scene/gui/spin_box.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-07-25 10:33:45 +0200
committerGitHub <noreply@github.com>2019-07-25 10:33:45 +0200
commit1481d299ea97fa1311a75a9ee39eb97d624a8619 (patch)
treec42928f05a4050fdb6d5eb8361469e423fd80e76 /scene/gui/spin_box.cpp
parentffca740185d5e34dbb41af825aeb4d04407894e1 (diff)
parentd844e306147689c3f02473b3dd5d592bdf141023 (diff)
downloadredot-engine-1481d299ea97fa1311a75a9ee39eb97d624a8619.tar.gz
Merge pull request #30776 from akien-mga/editor-configurable-float-step
Inspector: Make default float step configurable
Diffstat (limited to 'scene/gui/spin_box.cpp')
-rw-r--r--scene/gui/spin_box.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/spin_box.cpp b/scene/gui/spin_box.cpp
index 279253889c..db277d3705 100644
--- a/scene/gui/spin_box.cpp
+++ b/scene/gui/spin_box.cpp
@@ -40,7 +40,7 @@ Size2 SpinBox::get_minimum_size() const {
void SpinBox::_value_changed(double) {
- String value = String::num(get_value(), Math::step_decimals(get_step()));
+ String value = String::num(get_value(), Math::range_step_decimals(get_step()));
if (prefix != "")
value = prefix + " " + value;
if (suffix != "")