From a260a439fdaf374fccd5d57d5b9c8dbe4b248357 Mon Sep 17 00:00:00 2001 From: Piro / YUKI Hiroshi Date: Sat, 2 Mar 2013 22:31:08 +0900 Subject: [PATCH] Expand the drop area to drop dragged tabs to a tab itself --- content/treestyletab/res/tabsDragUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/treestyletab/res/tabsDragUtils.js b/content/treestyletab/res/tabsDragUtils.js index cc691d32..c40ec47a 100644 --- a/content/treestyletab/res/tabsDragUtils.js +++ b/content/treestyletab/res/tabsDragUtils.js @@ -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;