hrev50143 adds 1 changeset to branch 'master'
old head: a0ea818b3f282370f1cebe0512886ba200cea45e
new head: 27c801a13071834aa39e5bb6cd68c342c4b69017
overview:
http://cgit.haiku-os.org/haiku/log/?qt=range&q=27c801a13071+%5Ea0ea818b3f28
----------------------------------------------------------------------------
27c801a13071: BTabView: Draw right border even if 1 tab
The right border is seen on active tabs giving them a bit of a shadow.
[ John Scipione <jscipione@xxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev50143
Commit: 27c801a13071834aa39e5bb6cd68c342c4b69017
URL: http://cgit.haiku-os.org/haiku/commit/?id=27c801a13071
Author: John Scipione <jscipione@xxxxxxxxx>
Date: Fri Mar 11 02:57:38 2016 UTC
----------------------------------------------------------------------------
1 file changed, 1 insertion(+), 1 deletion(-)
src/kits/interface/TabView.cpp | 2 +-
----------------------------------------------------------------------------
diff --git a/src/kits/interface/TabView.cpp b/src/kits/interface/TabView.cpp
index 727209f..7e3f5b7 100644
--- a/src/kits/interface/TabView.cpp
+++ b/src/kits/interface/TabView.cpp
@@ -826,7 +826,7 @@ BTabView::DrawTabs()
right = tabFrame.right;
}
- if (tabCount > 1 && right < frame.right) {
+ if (right < frame.right) {
// draw a 1px right border on the last tab
frame = Bounds();
frame.left = frame.right = right;