gimp r25166 - in trunk: . app/display



Author: neo
Date: Fri Mar 21 22:27:00 2008
New Revision: 25166
URL: http://svn.gnome.org/viewvc/gimp?rev=25166&view=rev

Log:
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.



Modified:
   trunk/ChangeLog
   trunk/app/display/gimpcanvas.c

Modified: trunk/app/display/gimpcanvas.c
==============================================================================
--- trunk/app/display/gimpcanvas.c	(original)
+++ trunk/app/display/gimpcanvas.c	Fri Mar 21 22:27:00 2008
@@ -862,7 +862,7 @@
                  (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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]