* Bug #264 appeared again after I removed the disabled programmatically resize during user resize.
Obviously we ported the bug over from BeOS, during the FrameResized call the preferred size of the window was calculated based on the current size of the window, calculating the same size FrameResized reported. Thus resulting in trying to resize it to the same size ending in an loop. It seems they worked arround the oversight using the outline resize thing. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27426 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
dc68795074
commit
dcddeb4c1c
@ -515,12 +515,6 @@ void
|
||||
TWindow::FrameResized(float w, float h)
|
||||
{
|
||||
CalcViewablePixels();
|
||||
|
||||
float width;
|
||||
float height;
|
||||
GetPreferredSize(&width, &height);
|
||||
ResizeTo(width, height);
|
||||
|
||||
fFatBits->InitBuffers(fHPixelCount, fVPixelCount, fPixelSize, ShowGrid());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user