summaryrefslogtreecommitdiffhomepage
path: root/gui/mapping-dialog.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-01-16 06:20:54 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 07:49:13 +0100
commitb8ea949f768e47624d938d73a5de58b230d59f71 (patch)
treea2de97883658c83a69979dbc26eab6d925c1ccae /gui/mapping-dialog.cpp
parentd4fbad4d2931aa45308270eb995567314390e334 (diff)
gui/mapping-dialog: show more ruler lines
Diffstat (limited to 'gui/mapping-dialog.cpp')
-rw-r--r--gui/mapping-dialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/mapping-dialog.cpp b/gui/mapping-dialog.cpp
index 0bfb5068..8a5147cf 100644
--- a/gui/mapping-dialog.cpp
+++ b/gui/mapping-dialog.cpp
@@ -130,9 +130,9 @@ void mapping_dialog::load()
auto update_xstep = [&qfc](int clamp_x) {
int value;
- if (clamp_x <= c::r20)
+ if (clamp_x <= c::r30)
value = 1;
- else if (clamp_x <= c::r30)
+ else if (clamp_x <= c::r45)
value = 5;
else
value = 10;
@@ -146,7 +146,7 @@ void mapping_dialog::load()
{
default:
case c::o_r180:
- value = 15; break;
+ value = 20; break;
case c::o_r90:
value = 10; break;
case c::o_t75: