CID 1457 : dead code (we know pressed is true at this point).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38148 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -486,7 +486,7 @@ BColumnTitle::Draw(BView *view, bool pressed)
|
||||
be_control_look->DrawButtonBackground(view, rect, rect, base, 0,
|
||||
BControlLook::B_TOP_BORDER | BControlLook::B_BOTTOM_BORDER);
|
||||
} else {
|
||||
view->SetLowColor(pressed ? sDarkTitleBackground : sTitleBackground);
|
||||
view->SetLowColor(sDarkTitleBackground);
|
||||
view->FillRect(bounds, B_SOLID_LOW);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user