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

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
);
dt.mozCursor = 'move';
let tabbar = this.mTabContainer;
let box = tabbar.boxObject;
dt.setDragImage(
tabbar,
aEvent.screenX - box.screenX,
aEvent.screenY - box.screenY
);
// let tabbar = this.mTabContainer;
// let box = tabbar.boxObject;
// dt.setDragImage(
// tabbar,
// aEvent.screenX - box.screenX,
// aEvent.screenY - box.screenY
// );
// no feedback image, because it's annoying...
dt.setDragImage(new Image(), 0, 0);
aEvent.stopPropagation();
}
else $&]]>