- //if( type !== '' + X.UI.Event._POINTER_MOVE && type !== '' + X.UI.Event._TOUCH_MOVE && type !== '' + X.UI.Event._MOUSE_MOVE ){
- //console.log( e.type + ' ' + type + ' x:' + x + ', y:' + y );
- //};
+
+ // mouseup で alert を出すと mouseleave が発生、ということでイベント中のイベント発火を禁止
+ if( !data || data._eventBusy ) return ret;
+ data._eventBusy = true;
+
+ if( type !== '' + X.UI.Event._POINTER_MOVE && type !== '' + X.UI.Event._TOUCH_MOVE && type !== '' + X.UI.Event._MOUSE_MOVE ){
+ // console.log( e.type + ' ' + type + ' x:' + x + ', y:' + y );
+ };