summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-13 09:47:12 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-13 09:47:12 +0100
commit249f876093c5d269a521bb190bbd9de7c57a08ac (patch)
treed0ddf1545b3012961659201faea8ac5914a7503c
parent1d62458961d32524a686b3c88f599559d722b1cb (diff)
gui/spline: reduce spline widget snap to grid
Issue: #722
-rw-r--r--gui/mapping-dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/mapping-dialog.cpp b/gui/mapping-dialog.cpp
index 5f884607..7aa42b13 100644
--- a/gui/mapping-dialog.cpp
+++ b/gui/mapping-dialog.cpp
@@ -130,7 +130,7 @@ void mapping_dialog::load()
qfc.set_x_step(value + 1e-2 >= 90 ? 10 : 5);
if (idx >= 3)
- qfc.set_snap(1, 2.5);
+ qfc.set_snap(.5, 1);
else
qfc.set_snap(.5, 1);
};