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
1 changed files with 1 additions and 1 deletions

View File

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