mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 606827: Released and collapsing drag regions fade into... somewhere [r+a=dolske]
--HG-- extra : rebase_source : b225624a3e2352ce72b4ce5d90f3f53da141a8ac
This commit is contained in:
parent
1c336b80d3
commit
5df6c3756d
@ -1023,11 +1023,12 @@ let UI = {
|
||||
}
|
||||
|
||||
function collapse() {
|
||||
let center = phantom.bounds().center();
|
||||
phantom.animate({
|
||||
width: 0,
|
||||
height: 0,
|
||||
top: phantom.position().x + phantom.height()/2,
|
||||
left: phantom.position().y + phantom.width()/2
|
||||
top: center.y,
|
||||
left: center.x
|
||||
}, {
|
||||
duration: 300,
|
||||
complete: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user