From 13b17e054ba80a9cc4390d131382e45336e9f786 Mon Sep 17 00:00:00 2001 From: Vassiliy Kudryashov Date: Fri, 31 May 2013 15:31:37 +0400 Subject: [PATCH] IDEA-82242 Scroll the tabs with mouse wheel --- .../ui/tabs/impl/singleRow/ScrollableSingleRowLayout.java | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/platform-api/src/com/intellij/ui/tabs/impl/singleRow/ScrollableSingleRowLayout.java b/platform/platform-api/src/com/intellij/ui/tabs/impl/singleRow/ScrollableSingleRowLayout.java index 1b08006fc4c6..5498b84c622a 100644 --- a/platform/platform-api/src/com/intellij/ui/tabs/impl/singleRow/ScrollableSingleRowLayout.java +++ b/platform/platform-api/src/com/intellij/ui/tabs/impl/singleRow/ScrollableSingleRowLayout.java @@ -44,6 +44,7 @@ public class ScrollableSingleRowLayout extends SingleRowLayout { myScrollOffset += units; if (myLastSingRowLayout != null) { clampScrollOffsetToBounds(myLastSingRowLayout); + doScrollSelectionInView(myLastSingRowLayout); } }