Bugfix: Scaling bug on swipe, when window scale is not 1 (#736)
This commit is contained in:
committed by
Henrik Ingo
parent
c61403d57a
commit
628b78f3fd
@@ -705,7 +705,7 @@
|
||||
// can do about it?
|
||||
order: k < 0.7 ? currentState.rotate.order : nextStep.rotate.order
|
||||
},
|
||||
scale: interpolate( currentState.scale, nextScale, k )
|
||||
scale: interpolate( currentState.scale * windowScale, nextScale, k )
|
||||
};
|
||||
|
||||
css( root, {
|
||||
|
||||
@@ -703,7 +703,7 @@
|
||||
// can do about it?
|
||||
order: k < 0.7 ? currentState.rotate.order : nextStep.rotate.order
|
||||
},
|
||||
scale: interpolate( currentState.scale, nextScale, k )
|
||||
scale: interpolate( currentState.scale * windowScale, nextScale, k )
|
||||
};
|
||||
|
||||
css( root, {
|
||||
|
||||
Reference in New Issue
Block a user