This is a great commit! Annoying scroller bug is finally fixed! Thanks a lot!
Daniel Juyung Seo (SeoZ) On Tue, Dec 20, 2011 at 3:17 AM, Enlightenment SVN <no-re...@enlightenment.org> wrote: > Log: > elementary: Fixed the problem of scroller (photocam, gengrid, ... maybe > other). When we are dragging or animating the scroller, we can do call some > edje_object_part_drag_value_set who generate an edje signal 'drag,set'. But, > we don't want catch it at this times! > > Author: yoz > Date: 2011-12-19 10:17:45 -0800 (Mon, 19 Dec 2011) > New Revision: 66339 > Trac: http://trac.enlightenment.org/e/changeset/66339 > > Modified: > trunk/elementary/src/lib/els_scroller.c > > Modified: trunk/elementary/src/lib/els_scroller.c > =================================================================== > --- trunk/elementary/src/lib/els_scroller.c 2011-12-19 17:42:08 UTC (rev > 66338) > +++ trunk/elementary/src/lib/els_scroller.c 2011-12-19 18:17:45 UTC (rev > 66339) > @@ -2534,6 +2534,10 @@ > Evas_Coord x, y, mx = 0, my = 0, px, py, minx = 0, miny = 0; > double vx, vy; > > + if ((sd->down.dragged) || (sd->down.bounce_x_animator) > + || (sd->down.bounce_y_animator) || (sd->down.momentum_animator) > + || (sd->scrollto.x.animator) || (sd->scrollto.y.animator)) > + return; > edje_object_part_drag_value_get(sd->edje_obj, "elm.dragable.vbar", NULL, > &vy); > edje_object_part_drag_value_get(sd->edje_obj, "elm.dragable.hbar", &vx, > NULL); > sd->pan_func.max_get(sd->pan_obj, &mx, &my); > > > ------------------------------------------------------------------------------ > Learn Windows Azure Live! Tuesday, Dec 13, 2011 > Microsoft is holding a special Learn Windows Azure training event for > developers. It will provide a great way to learn Windows Azure and what it > provides. You can attend the event by watching it streamed LIVE online. > Learn more at http://p.sf.net/sfu/ms-windowsazure > _______________________________________________ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel