* clutter/clutter-actor.c (clutter_actor_move_anchor_point): The
actor position was being moved in the wrong direction. Perhaps this was a cut-and-paste bug from move_anchor_point_from_gravity because in that function ax and ay represent the old anchor position, but in this function they represent the new.
This commit is contained in:
parent
eb72cdd5f3
commit
a5cd811a9c
@ -1,3 +1,11 @@
|
||||
2008-04-29 Neil Roberts <neil@o-hand.com>
|
||||
|
||||
* clutter/clutter-actor.c (clutter_actor_move_anchor_point): The
|
||||
actor position was being moved in the wrong direction. Perhaps
|
||||
this was a cut-and-paste bug from move_anchor_point_from_gravity
|
||||
because in that function ax and ay represent the old anchor
|
||||
position, but in this function they represent the new.
|
||||
|
||||
2008-04-29 Matthew Allum <mallum@openedhand.com>
|
||||
|
||||
* clutter/glx/Makefile.am:
|
||||
|
@ -4645,8 +4645,8 @@ clutter_actor_move_anchor_point (ClutterActor *self,
|
||||
|
||||
priv = self->priv;
|
||||
|
||||
dx = ax - priv->anchor_x;
|
||||
dy = ay - priv->anchor_y;
|
||||
dx = priv->anchor_x - ax;
|
||||
dy = priv->anchor_y - ay;
|
||||
|
||||
priv->anchor_x = ax;
|
||||
priv->anchor_y = ay;
|
||||
|
Loading…
Reference in New Issue
Block a user