タブバーのドラッグ時、フィードバックイメージを設定しないように

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@5094 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-09-04 03:12:38 +00:00
parent ed342390cd
commit 6e2bd42327

View File

@ -1399,13 +1399,15 @@ var TreeStyleTabService = {
0 0
); );
dt.mozCursor = 'move'; dt.mozCursor = 'move';
let tabbar = this.mTabContainer; // let tabbar = this.mTabContainer;
let box = tabbar.boxObject; // let box = tabbar.boxObject;
dt.setDragImage( // dt.setDragImage(
tabbar, // tabbar,
aEvent.screenX - box.screenX, // aEvent.screenX - box.screenX,
aEvent.screenY - box.screenY // aEvent.screenY - box.screenY
); // );
// no feedback image, because it's annoying...
dt.setDragImage(new Image(), 0, 0);
aEvent.stopPropagation(); aEvent.stopPropagation();
} }
else $&]]> else $&]]>