Make sure the window size limits are always up to date.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31558 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -893,6 +893,7 @@ MainWin::_SetupWindow()
|
|||||||
|| previousSourceHeight != fSourceHeight
|
|| previousSourceHeight != fSourceHeight
|
||||||
|| previousWidthAspect != fWidthAspect
|
|| previousWidthAspect != fWidthAspect
|
||||||
|| previousHeightAspect != fHeightAspect)) {
|
|| previousHeightAspect != fHeightAspect)) {
|
||||||
|
_SetWindowSizeLimits();
|
||||||
_ResizeWindow(100);
|
_ResizeWindow(100);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1170,7 +1171,6 @@ MainWin::_ResizeWindow(int percent)
|
|||||||
|
|
||||||
width = max_c(width, videoWidth);
|
width = max_c(width, videoWidth);
|
||||||
height = height + videoHeight;
|
height = height + videoHeight;
|
||||||
// _SetWindowSizeLimits();
|
|
||||||
ResizeTo(width - 1, height - 1);
|
ResizeTo(width - 1, height - 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user