Removed the snooze() call before tracking the popup menu. This should
avoid the problem noticed by Andrea Anzani (can you check, please ?) where the tracker menu would close when moving the mouse too fast. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24863 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -361,9 +361,6 @@ BPopUpMenu::_StartTrack(BPoint where, bool autoInvoke, bool startOpened, BRect *
|
||||
|
||||
// Show the menu's window
|
||||
Show();
|
||||
|
||||
// Wait some time then track the menu
|
||||
snooze(50000);
|
||||
BMenuItem *result = Track(startOpened, _specialRect);
|
||||
if (result != NULL && autoInvoke)
|
||||
result->Invoke();
|
||||
|
||||
Reference in New Issue
Block a user