OSDN Git Service

Version 0.6.191, fix X.UI.ScrollBox & X.UI.Gesture.
[pettanr/clientJs.git] / 0.6.x / js / 20_ui / 20_Root.js
index d5b794d..237af6a 100644 (file)
@@ -17,30 +17,22 @@ function X_UI_eventRellay( e ){
        if( !data || XUI_interactionBusy ) return ret;
        XUI_interactionBusy = true;
        
-
+       if( type !== XUI_Event._POINTER_MOVE ){
+               console.log( data.xnode.className() + '>' + e.type + ' ' + type + ' x:' + x + ', y:' + y );
+               //console.dir( data )
+               //data !== X_UI_rootData && console.log( ( data.xnode[ 'className' ]() + data.xnode[ 'text' ]() ).substr( 0, 15 ) );
+       };
        
        e.type = type;
 
        // TODO capture は pointer 毎に!
-       if( data && ( data = data.monopolyNodeData ) && ( ret = data[ 'dispatch' ]( e ) ) & X_CALLBACK_CAPTURE_POINTER ){
-               console.log( 'capture ' + data.xnode.className() );
-               XUI_interactionBusy = false;
-               return ret | X_CALLBACK_PREVENT_DEFAULT;
-       };
-       //if( ret & X_CALLBACK_RELEASE_POINTER ){
-               data && ( data.monopolyNodeData = null );
-               //return ret | X_CALLBACK_PREVENT_DEFAULT;
-       //};
+
        
        list = X_UI_rootData.hoverList;
        ( X_UI_rootData.targetNodeData = X_UI_rootData ).capcher( x, y );
        data = X_UI_rootData.targetNodeData;
 
-       if( type !== XUI_Event._POINTER_MOVE ){
-               //console.log( data.xnode.className() + '>' + e.type + ' ' + type + ' x:' + x + ', y:' + y );
-               //console.dir( data )
-               //data !== X_UI_rootData && console.log( ( data.xnode[ 'className' ]() + data.xnode[ 'text' ]() ).substr( 0, 15 ) );
-       };
+