* make absolutely sure there is no cyclic resizing

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22229 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2007-09-13 15:04:38 +00:00
parent 259233e466
commit bbe8558522
+2 -2
View File
@@ -266,8 +266,8 @@ _BMCMenuBar_::FrameResized(float width, float height)
}
}
if (!fFixedSize) {
// we have been shrinked or enlarged and need to take
if (!fFixedSize && ResizingMode() == (B_FOLLOW_LEFT | B_FOLLOW_TOP)) {
// we have been shrinked or enlarged and need to take care
// of the size of the parent menu field as well
// NOTE: no worries about follow mode, we follow left and top
// in autosize mode