Src folder restructured

This commit is contained in:
Mat Groves 2013-06-20 17:38:12 +01:00
parent e0db063233
commit 2ad9002a79
71 changed files with 17728 additions and 5373 deletions

View file

@ -273,7 +273,7 @@ PIXI.InteractionManager.prototype.update = function()
var len = this.interactiveItems.length;
for (var i=0; i < this.interactiveItems.length; i++) {
for (var i=0; i < len; i++) {
this.interactiveItems[i].interactiveChildren = false;
}
@ -357,6 +357,8 @@ PIXI.InteractionManager.prototype.onMouseMove = function(event)
PIXI.InteractionManager.prototype.onMouseDown = function(event)
{
event.preventDefault();
// loop through inteaction tree...
// hit test each item! ->
// get interactive items under point??
@ -393,6 +395,8 @@ PIXI.InteractionManager.prototype.onMouseDown = function(event)
PIXI.InteractionManager.prototype.onMouseUp = function(event)
{
var global = this.mouse.global;
@ -547,6 +551,8 @@ PIXI.InteractionManager.prototype.onTouchMove = function(event)
PIXI.InteractionManager.prototype.onTouchStart = function(event)
{
event.preventDefault();
var rect = this.target.view.getBoundingClientRect();
var changedTouches = event.changedTouches;