Deskbar: Set no horizontal window size limit in vertical mode

... so that for scroller arrows will work again. This regression
occurred in hrev53890 trying to fix #15067.
This commit is contained in:
John Scipione 2020-02-23 15:38:30 -05:00
parent 82a7c7395c
commit bc9e33a5fb

View File

@ -667,7 +667,7 @@ TBarWindow::SetSizeLimits()
} else { } else {
if (fBarView->Vertical()) { if (fBarView->Vertical()) {
BWindow::SetSizeLimits(gMinimumWindowWidth, gMaximumWindowWidth, BWindow::SetSizeLimits(gMinimumWindowWidth, gMaximumWindowWidth,
kMenuBarHeight - 1, screenFrame.Height()); kMenuBarHeight - 1, -1);
} else { } else {
BWindow::SetSizeLimits(screenFrame.Width(), screenFrame.Width(), BWindow::SetSizeLimits(screenFrame.Width(), screenFrame.Width(),
kMenuBarHeight - 1, kMaximumIconSize + 4); kMenuBarHeight - 1, kMaximumIconSize + 4);