mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
2008-06-16 Tomas Frydrych <tf@openedhand.com>
* clutter/clutter-actor.c: (clutter_actor_move_anchor_point_from_gravity): Fixed incorrect sign of position adjustment (revert of earlier change).
This commit is contained in:
parent
6ec5cc538c
commit
2ccfd3c08f
@ -1,3 +1,10 @@
|
||||
2008-06-16 Tomas Frydrych <tf@openedhand.com>
|
||||
|
||||
* clutter/clutter-actor.c:
|
||||
(clutter_actor_move_anchor_point_from_gravity):
|
||||
Fixed incorrect sign of position adjustment (revert of earlier
|
||||
change).
|
||||
|
||||
2008-06-16 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
* clutter/clutter-actor.c (clutter_actor_unparent): Reset the
|
||||
|
@ -6201,8 +6201,8 @@ clutter_actor_move_anchor_point_from_gravity (ClutterActor *self,
|
||||
|
||||
clutter_actor_set_anchor_point_from_gravity (self, gravity);
|
||||
|
||||
dx = ax - priv->anchor_x;
|
||||
dy = ay - priv->anchor_y;
|
||||
dx = priv->anchor_x - ax;
|
||||
dy = priv->anchor_y - ay;
|
||||
|
||||
if (priv->position_set)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user