From ee166ba5999157021b3c117f9f14a7d89da47164 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Fri, 21 Mar 2008 22:27:00 +0000 Subject: [PATCH] tweaked opacity calculation so that the opacity is only increased with 2008-03-21 Sven Neumann * 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 --- ChangeLog | 6 ++++++ app/display/gimpcanvas.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9eae1a0dc6..257a874d3e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-03-21 Sven Neumann + + * 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 * app/core/gimptemplate.[ch]: moved defines to the header file and diff --git a/app/display/gimpcanvas.c b/app/display/gimpcanvas.c index a38745f144..04bf31ad2d 100644 --- a/app/display/gimpcanvas.c +++ b/app/display/gimpcanvas.c @@ -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,