Problem Description
When you are doing a simple animation (moving a view from one side to the other), you will see that the view will scale to a bigger view, even if you didn't asked for it.
Steps to reproduce.
1. Create a new mobile project
2. Paste this as app.js
var win= Ti.UI.createWindow({backgroundColor:'black'});
var infopanel = Ti.UI.createImageView({
image:'KS_nav_ui.png',
top:78,
left:20,
});
var a = Ti.UI.createAnimation({
top:400,
left:300,
duration:10000,
autoreverse:true,
});
win.open();
win.add(infopanel);
infopanel.animate(a);
3. You will see that at the end of the animation, the view will be a lot bigger that when started.
Extra info
This was originally reported here:
http://developer.appcelerator.com/question/151107/image-getting-smaller-with-move-animation#comment-168902
No comments