タブバーのドラッグ時、フィードバックイメージを設定しないように
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@5094 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
ed342390cd
commit
6e2bd42327
@ -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 $&]]>
|
||||
|
Loading…
x
Reference in New Issue
Block a user