From 7b4a22093c6b73ba362d928a3f4daee7771bcda9 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Fri, 2 Sep 2022 11:29:49 +0800 Subject: [PATCH] * Fix issue #731. --- module/kanban/js/view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/kanban/js/view.js b/module/kanban/js/view.js index 9870249836..9d9012e572 100644 --- a/module/kanban/js/view.js +++ b/module/kanban/js/view.js @@ -1928,7 +1928,7 @@ function initRegionTabs() } else if(acitiveItemWidth + acitiveItemLeft + distance + radiusWidth * 2 > regionTabsWidth && acitiveItemLeft != 0 && acitiveItemWidth != 0) { - distance = regionTabsWidth - acitiveItemWidth - acitiveItemLeft - radiusWidth * 2; + distance = regionTabsWidth - acitiveItemWidth - acitiveItemLeft + (distance != 0 ? - radiusWidth * 2 : radiusWidth); if($acitiveItem.next().length == 0) { distance = regionTabsWidth - acitiveItemWidth - acitiveItemLeft - radiusWidth * 2;