Fixed hovering over a sub-menu to let it open automatically, which I broke
with my previous commit. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35749 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
7263efe581
commit
8c3d172b46
@ -1670,7 +1670,8 @@ BMenu::_Track(int* action, long start)
|
||||
break;
|
||||
GetMouse(&newLocation, &newButtons, true);
|
||||
UnlockLooper();
|
||||
} while (newLocation == location && newButtons == buttons);
|
||||
} while (newLocation == location && newButtons == buttons
|
||||
&& !(item && item->Submenu() != NULL));
|
||||
bigtime_t newPollTime = system_time();
|
||||
|
||||
// mouseSpeed in px per ms
|
||||
|
Loading…
Reference in New Issue
Block a user