animation用于canvas上的bug
在canvas上用rotateY旋转360度,在Iphone 6s上无法如预期那样旋转,但开发工具上正常。
以下是代码:
let canvasAnimation = wx.createAnimation({ transformOrigin: "50% 50% 0" , duration: 2000, timingFunction: "ease-in-out" , delay: 0
|
< canvas animation = "{{canvasAnimationData}}" canvas-id = "myCanvas" /> |