[gnome-photos] tool-colors: Restrict the range of the brightness slider



commit c584e145c17b9c1bdafaae2b860ed7af299d6d04
Author: Neha Yadav <inehayadav28 gmail com>
Date:   Sat Jan 16 14:37:16 2016 +0530

    tool-colors: Restrict the range of the brightness slider
    
    ... so that the user cannot make it completely black or white.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=759155

 src/photos-tool-colors.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/photos-tool-colors.c b/src/photos-tool-colors.c
index 3ea8610..0a65c61 100644
--- a/src/photos-tool-colors.c
+++ b/src/photos-tool-colors.c
@@ -60,9 +60,9 @@ G_DEFINE_TYPE_WITH_CODE (PhotosToolColors, photos_tool_colors, PHOTOS_TYPE_TOOL,
 
 
 static const gdouble BRIGHTNESS_DEFAULT = 0.0;
-static const gdouble BRIGHTNESS_MAXIMUM = 1.0;
-static const gdouble BRIGHTNESS_MINIMUM = -1.0;
-static const gdouble BRIGHTNESS_STEP = 0.1;
+static const gdouble BRIGHTNESS_MAXIMUM = 0.5;
+static const gdouble BRIGHTNESS_MINIMUM = -0.5;
+static const gdouble BRIGHTNESS_STEP = 0.05;
 static const gdouble CONTRAST_DEFAULT = 1.0;
 static const gdouble CONTRAST_MAXIMUM = 2.0;
 static const gdouble CONTRAST_MINIMUM = 0.0;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]