changeset 328:f61dbcd8c291

coord_x() of light-bar should not be changed. - animated_menu should only move light-bar in y direction.
author Thinker K.F. Li <thinker@branda.to>
date Fri, 06 Mar 2009 19:42:01 +0800
parents 85b8bb36fe71
children 740844ee48c4
files examples/menu/animated_menu.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/examples/menu/animated_menu.c	Fri Mar 06 13:53:27 2009 +0800
+++ b/examples/menu/animated_menu.c	Fri Mar 06 19:42:01 2009 +0800
@@ -47,7 +47,6 @@
 
     lightbar = (coord_t *) m->lightbar;
     group = (coord_t *) m->objects[m->cur];
-    coord_x(lightbar) = coord_x(group);
     coord_y(lightbar) = coord_y(group);
     rdman_coord_changed(MBAPP_RDMAN(m->app),lightbar);
     rdman_redraw_changed(MBAPP_RDMAN(m->app));