On Mon, Jun 16, 2008 at 6:10 PM, Marco Pesenti Gritti <[EMAIL PROTECTED]> wrote: > On Mon, Jun 16, 2008 at 6:08 PM, Tomeu Vizoso <[EMAIL PROTECTED]> wrote: >>> if best_rect: >>> - self._move_child(child, best_rect) >>> + child.grid_rect = best_rect >>> + weight = self._shift_child(child, weight) >>> >>> I'm not to understand this recursion. Is it supposed to keep shifting >>> until it finds the best possible place? >> >> It will shift until it stops improving, this was the bigger difference >> with Eben's demo. > > But is this supposed to happen in a sync way? (i.e. without updating > the view). I seem to remember it was supposed to be animation like... > (could be wrong, was months ago)
Yes, that will need to happen later. Eben's approach is to have a current and a target position, and update the visible position smoothly. Tomeu _______________________________________________ Sugar mailing list [email protected] http://lists.laptop.org/listinfo/sugar

