mirror of https://github.com/GNOME/gimp.git
tweaked opacity calculation so that the opacity is only increased with
2008-03-21 Sven Neumann <sven@gimp.org> * app/display/gimpcanvas.c (gimp_canvas_draw_drop_zone): tweaked opacity calculation so that the opacity is only increased with smaller font sizes. svn path=/trunk/; revision=25166
This commit is contained in:
parent
15c7937fc3
commit
ee166ba599
|
@ -1,3 +1,9 @@
|
|||
2008-03-21 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/display/gimpcanvas.c (gimp_canvas_draw_drop_zone): tweaked
|
||||
opacity calculation so that the opacity is only increased with
|
||||
smaller font sizes.
|
||||
|
||||
2008-03-21 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/core/gimptemplate.[ch]: moved defines to the header file and
|
||||
|
|
|
@ -862,7 +862,7 @@ gimp_canvas_draw_drop_zone (GimpCanvas *canvas,
|
|||
(widget->allocation.width / factor - width) / 2.0,
|
||||
(widget->allocation.height / factor - height) / 2.0);
|
||||
|
||||
opacity = CLAMP (1.0 / factor, 0.10, 1.0);
|
||||
opacity = CLAMP (0.5 / factor, 0.1, 1.0);
|
||||
|
||||
cairo_set_source_rgba (cr,
|
||||
color->red / 65535.0,
|
||||
|
|
Loading…
Reference in New Issue