Revert "Deskbar: Set no horizontal window size limit in vertical mode"

This reverts commit bc9e33a5fb.

This can cause other problems though, will need to provide a better fix.
This commit is contained in:
John Scipione
2020-02-23 16:32:29 -05:00
parent bc9e33a5fb
commit d7aa468e43
+1 -1
View File
@@ -667,7 +667,7 @@ TBarWindow::SetSizeLimits()
} else {
if (fBarView->Vertical()) {
BWindow::SetSizeLimits(gMinimumWindowWidth, gMaximumWindowWidth,
kMenuBarHeight - 1, -1);
kMenuBarHeight - 1, screenFrame.Height());
} else {
BWindow::SetSizeLimits(screenFrame.Width(), screenFrame.Width(),
kMenuBarHeight - 1, kMaximumIconSize + 4);