Fx.Morph faster styles processing
Reported by MadRabbit | December 23rd, 2009 @ 12:09 PM | in 1.5.2 Release
We can make the styles calculation faster, by removing prepending string from the list, coz it's always empty, something like
@@@javascript for (var i=0; i < after.length; i++) {
value = before[i] + (after[i] - before[i]) * delta; if
(after.round) value = Math.round(value); after.t[i*2+1] = ''+value;
} value = after.t.join('');
if (after.pre) value = after.pre + value;
style[key] = value;
Comments and changes to this ticket
-
MadRabbit December 25th, 2009 @ 02:30 PM
- State changed from new to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
RightJS Core Tickets