Enlightenment CVS committal

Author  : tsauerbeck
Project : e17
Module  : libs/edje

Dir     : e17/libs/edje/src/lib


Modified Files:
        edje_calc.c 


Log Message:
don't invert part alignment when the part is smaller than the min size. this means 
that an alignment of 0.0 will *always* be top/left.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_calc.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -3 -r1.47 -r1.48
--- edje_calc.c 29 Oct 2004 17:56:04 -0000      1.47
+++ edje_calc.c 29 Oct 2004 22:32:35 -0000      1.48
@@ -585,7 +585,7 @@
             if (params->w < minw)
               {
                  params->x = params->x + 
-                   ((params->w - minw) * (1.0 - desc->align.x));
+                   ((params->w - minw) * desc->align.x);
                  params->w = minw;
               }
          }
@@ -597,7 +597,7 @@
             if (params->h < minh)
               {
                  params->y = params->y + 
-                   ((params->h - minh) * (1.0 - desc->align.y));
+                   ((params->h - minh) * desc->align.y);
                  params->h = minh;
               }
          }




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to