From bbe8558522a9b6b83ffa9c585d83d38acf9f86de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Thu, 13 Sep 2007 15:04:38 +0000 Subject: [PATCH] * make absolutely sure there is no cyclic resizing git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22229 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/BMCPrivate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kits/interface/BMCPrivate.cpp b/src/kits/interface/BMCPrivate.cpp index 455e1b0cb0..5193681ee3 100644 --- a/src/kits/interface/BMCPrivate.cpp +++ b/src/kits/interface/BMCPrivate.cpp @@ -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