summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2020-04-30 23:12:55 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2020-04-30 23:12:55 +0200
commit3d4c16f3f51cf8838f581969a27ca8c3b95cfc98 (patch)
tree4a10db6bdaf46ba346c81a8d1980656e92d6f726 /src
parent43ab0002e3048684b5661a5c341fc5f0e0f49f13 (diff)
Turn shelf for powermap off by default.
Diffstat (limited to 'src')
-rw-r--r--src/powermap.cc3
-rw-r--r--src/settings.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/powermap.cc b/src/powermap.cc
index 914b5c1..559e71b 100644
--- a/src/powermap.cc
+++ b/src/powermap.cc
@@ -91,8 +91,7 @@ void Powermap::reset()
setFixed0({eps, eps});
setFixed1({.5, .5});
setFixed2({1-eps, 1-eps});
- // FIXME: better false?
- shelf = true;
+ shelf = false;
updateSpline();
}
diff --git a/src/settings.h b/src/settings.h
index a3d21d0..e917e9e 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -152,7 +152,7 @@ struct Settings
Atomic<float> powermap_fixed1_y{.5};
Atomic<float> powermap_fixed2_x{1.};
Atomic<float> powermap_fixed2_y{1.};
- Atomic<bool> powermap_shelf{true};
+ Atomic<bool> powermap_shelf{false};
// Powermap visualizer; -1 is "none"
Atomic<float> powermap_input{-1.};