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:
Sven Neumann 2008-03-21 22:27:00 +00:00 committed by Sven Neumann
parent 15c7937fc3
commit ee166ba599
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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,