be more aggressive about exiting zoom effect
CCBUG: 289336 REVIEW: 115453
This commit is contained in:
parent
acaf4807ab
commit
68fc751916
1 changed files with 1 additions and 1 deletions
|
@ -398,7 +398,7 @@ void ZoomEffect::zoomOut()
|
|||
{
|
||||
source_zoom = zoom;
|
||||
target_zoom /= zoomFactor;
|
||||
if (target_zoom < 1) {
|
||||
if ((zoomFactor > 1 && target_zoom < 1.01) || (zoomFactor < 1 && target_zoom > 0.99)) {
|
||||
target_zoom = 1;
|
||||
if (polling) {
|
||||
polling = false;
|
||||
|
|
Loading…
Reference in a new issue