Bug 606827: Released and collapsing drag regions fade into... somewhere [r+a=dolske]

--HG--
extra : rebase_source : b225624a3e2352ce72b4ce5d90f3f53da141a8ac
This commit is contained in:
Michael Yoshitaka Erlewine 2010-11-09 20:50:41 -05:00
Родитель 388c25530b
Коммит 285d9950d8
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -1023,11 +1023,12 @@ let UI = {
} }
function collapse() { function collapse() {
let center = phantom.bounds().center();
phantom.animate({ phantom.animate({
width: 0, width: 0,
height: 0, height: 0,
top: phantom.position().x + phantom.height()/2, top: center.y,
left: phantom.position().y + phantom.width()/2 left: center.x
}, { }, {
duration: 300, duration: 300,
complete: function() { complete: function() {