Commit afccaa91 authored by Jehan's avatar Jehan

Bug 775646 - Levels Tool: handles difficult to read with dark theme.

The white, gray and dark sliders of GimpHandleBar have a black contour.
This makes the white and gray slider visible even with similar colored
background. On the other hand, the black slider is barely visible on a
dark background (and could even be made totally invisible using the same
color). So let's use a light-gray contour on the dark slider, making now
all sliders working with any background color.
parent c3510405
......@@ -198,7 +198,13 @@ gimp_handle_bar_expose (GtkWidget *widget,
cairo_fill_preserve (cr);
cairo_set_source_rgb (cr, 0.0, 0.0, 0.0);
/* Make all sliders well visible even on similar colored
* backgrounds.
if (i == 0)
cairo_set_source_rgb (cr, 0.6, 0.6, 0.6);
cairo_set_source_rgb (cr, 0.0, 0.0, 0.0);
cairo_stroke (cr);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment