X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=0.6.x%2Fjs%2F02_dom%2F10_XNodeAnime.js;h=9458c383b102ade770e5b985f952b07e4b83e31b;hb=9ba2ba4de00464f81805b28dfcab8814a46da5e5;hp=31e853a2ffdedc2a653ebc062ed35b1fe3fa3f6d;hpb=f74335422a0ae2d66e3ce9bfa03f0c77a107e8d1;p=pettanr%2FclientJs.git diff --git a/0.6.x/js/02_dom/10_XNodeAnime.js b/0.6.x/js/02_dom/10_XNodeAnime.js index 31e853a..9458c38 100644 --- a/0.6.x/js/02_dom/10_XNodeAnime.js +++ b/0.6.x/js/02_dom/10_XNodeAnime.js @@ -452,7 +452,8 @@ function X_Node_Anime_getComputedPosition( that ){ if( style = ( raw.currentStyle || raw.style ) ){ x = parseFloat( style[ 'left' ] ); y = parseFloat( style[ 'top' ] ); - a = parseFloat( ( style[ 'filter' ] || 'opacity=1' ).split( 'opacity=' )[ 1 ] ); + a = that[ '_css' ] && 0 <= that[ '_css' ].opacity ? that[ '_css' ].opacity : 1; + //parseFloat( ( style[ 'filter' ] || 'opacity=1' ).split( 'opacity=' )[ 1 ] ); }; };