From 8ec4bbadfbd526ed21b3d3ac4a86d42781379fae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Thu, 30 Apr 2020 23:16:58 +0200 Subject: Revert "Turn shelf for powermap off by default." This reverts commit 3d4c16f3f51cf8838f581969a27ca8c3b95cfc98. After some testing I changed my mind. We want to have shelf turned on by default, because the function seems to behave more like default behavior with shelf. --- src/powermap.cc | 3 ++- src/settings.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/powermap.cc b/src/powermap.cc index 559e71b..914b5c1 100644 --- a/src/powermap.cc +++ b/src/powermap.cc @@ -91,7 +91,8 @@ void Powermap::reset() setFixed0({eps, eps}); setFixed1({.5, .5}); setFixed2({1-eps, 1-eps}); - shelf = false; + // FIXME: better false? + shelf = true; updateSpline(); } diff --git a/src/settings.h b/src/settings.h index e917e9e..a3d21d0 100644 --- a/src/settings.h +++ b/src/settings.h @@ -152,7 +152,7 @@ struct Settings Atomic powermap_fixed1_y{.5}; Atomic powermap_fixed2_x{1.}; Atomic powermap_fixed2_y{1.}; - Atomic powermap_shelf{false}; + Atomic powermap_shelf{true}; // Powermap visualizer; -1 is "none" Atomic powermap_input{-1.}; -- cgit v1.2.3