I *think* I've fixed the problem of menu fields not being opened when
the user clicks on the part which has been resized... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21487 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -301,7 +301,7 @@ BMenuField::MouseDown(BPoint where)
|
|||||||
|
|
||||||
BRect bounds = fMenuBar->ConvertFromParent(Bounds());
|
BRect bounds = fMenuBar->ConvertFromParent(Bounds());
|
||||||
|
|
||||||
fMenuBar->StartMenuBar(-1, false, true, &bounds);
|
fMenuBar->StartMenuBar(0, false, true, &bounds);
|
||||||
|
|
||||||
fMenuTaskID = spawn_thread((thread_func)MenuTask, "_m_task_", B_NORMAL_PRIORITY, this);
|
fMenuTaskID = spawn_thread((thread_func)MenuTask, "_m_task_", B_NORMAL_PRIORITY, this);
|
||||||
if (fMenuTaskID)
|
if (fMenuTaskID)
|
||||||
|
|||||||
Reference in New Issue
Block a user