mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 13:33:27 -07:00
Animation queuing.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2342 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
ce632b1496
commit
7c8b0f5988
2 changed files with 32 additions and 12 deletions
|
@ -550,7 +550,8 @@ namespace Greenshot.Forms {
|
|||
} else {
|
||||
destinationLocation = new Point(-zoomOffset.X - zoomSize.Width, -zoomOffset.Y - zoomSize.Width);
|
||||
}
|
||||
zoomAnimator.ChangeDestination(new Rectangle(destinationLocation, zoomSize));
|
||||
zoomAnimator.ChangeDestination(new Rectangle(new Point(-10, -10), new Size(20, 20)));
|
||||
zoomAnimator.QueueDestination(new Rectangle(destinationLocation, zoomSize));
|
||||
return zoomAnimator.Next();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue