silky smooth animations. got rid of layer and event throttling, and instead created dragThrottling. The dynamic animation frame rates already handles optimized animation drawing, we just needed to add manual throttling to drag and drop. Animations are now very smooth, and drag and drop is still smooth

This commit is contained in:
Eric Rowell
2012-07-26 23:26:58 -07:00
parent ce3b98ee9c
commit eccd8b7e64
7 changed files with 185 additions and 458 deletions

View File

@@ -327,7 +327,7 @@ Test.prototype.tests = {
};
imageObj.src = '../assets/darth-vader.jpg';
},
'*EVENTS - star pixel detection': function(containerId) {
'EVENTS - star pixel detection': function(containerId) {
var stage = new Kinetic.Stage({
container: containerId,
width: 578,