mirror of https://github.com/GNOME/gimp.git
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.
This commit is contained in:
parent
c3510405c4
commit
afccaa9105
|
@ -198,6 +198,12 @@ gimp_handle_bar_expose (GtkWidget *widget,
|
|||
|
||||
cairo_fill_preserve (cr);
|
||||
|
||||
/* Make all sliders well visible even on similar colored
|
||||
* backgrounds.
|
||||
*/
|
||||
if (i == 0)
|
||||
cairo_set_source_rgb (cr, 0.6, 0.6, 0.6);
|
||||
else
|
||||
cairo_set_source_rgb (cr, 0.0, 0.0, 0.0);
|
||||
|
||||
cairo_stroke (cr);
|
||||
|
|
Loading…
Reference in New Issue