BTabView: Draw right border even if 1 tab

The right border is seen on active tabs giving them a bit of a shadow.
This commit is contained in:
John Scipione
2016-03-10 18:57:38 -08:00
parent a0ea818b3f
commit 27c801a130
+1 -1
View File
@@ -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;