Georges Basile Stavracas Neto f76f30fd6a
dnd: Fix drag cancel animation scale
When a drag is cancelled and the source actor
is visible, the drag actor is animated back to
the source position. The scale that the drag
actor will become is calculated as:

    scale = this._dragActor.width / sourceScaledWidth

However, this is wrong; what we wanted to do
is the opposite:

    scale = sourceScaledWidth / this._dragActor.width

Fix the scale calculation to match the math
above.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/671
2019-08-09 10:58:46 -03:00
..
2019-08-07 16:17:45 +00:00
2019-08-07 16:17:45 +00:00
2019-08-09 10:58:38 -03:00
2019-08-09 10:58:46 -03:00
2019-08-06 23:54:29 +02:00