Expand the drop area to drop dragged tabs to a tab itself
This commit is contained in:
parent
0140ae8a49
commit
a260a439fd
@ -383,7 +383,7 @@
|
|||||||
!isVertical;
|
!isVertical;
|
||||||
|
|
||||||
context.tabSize = context.draggedTab.getBoundingClientRect()[context.size];
|
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;
|
context.utils = this;
|
||||||
|
Loading…
Reference in New Issue
Block a user