Expand the drop area to drop dragged tabs to a tab itself

This commit is contained in:
Piro / YUKI Hiroshi 2013-03-02 22:31:08 +09:00
parent 0140ae8a49
commit a260a439fd

View File

@ -383,7 +383,7 @@
!isVertical;
context.tabSize = context.draggedTab.getBoundingClientRect()[context.size];
context.tabCenterOffset = context.tabSize / (context.options.canDropOnSelf ? 3 : 2 );
context.tabCenterOffset = context.tabSize * (context.options.canDropOnSelf ? 0.25 : 0.5 );
context.utils = this;