Remove superfluous check for Height() since it is checked above

This commit is contained in:
Ryan Leavengood 2012-06-10 00:21:06 -04:00
parent 585d44f283
commit b9d90cb109

View File

@ -227,7 +227,7 @@ WorkspacesView::_DrawWindow(DrawingEngine* drawingEngine,
tabFrame.left = tabFrame.right - width;
}
if (tabFrame.Height() > 0 && tabFrame.bottom >= tabFrame.top) {
if (tabFrame.bottom >= tabFrame.top) {
// Shift the tab up
float tabHeight = tabFrame.Height();
tabFrame.bottom = frame.top - 1;