There was a reason for this after all: Sometimes hovering from the
submenu to the parent didn't trigger tracking from it. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23232 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
aad0d344f0
commit
c129260a24
@ -1409,8 +1409,11 @@ BMenu::_Track(int *action, long start)
|
|||||||
fState = MENU_STATE_CLOSED;
|
fState = MENU_STATE_CLOSED;
|
||||||
}
|
}
|
||||||
} else if (item == NULL) {
|
} else if (item == NULL) {
|
||||||
if (_OverSuper(screenLocation))
|
if (_OverSuper(screenLocation)) {
|
||||||
fState = MENU_STATE_TRACKING;
|
fState = MENU_STATE_TRACKING;
|
||||||
|
UnlockLooper();
|
||||||
|
break;
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
if (!_OverSubmenu(fSelected, screenLocation)
|
if (!_OverSubmenu(fSelected, screenLocation)
|
||||||
&& system_time() > closeTime + kHysteresis
|
&& system_time() > closeTime + kHysteresis
|
||||||
|
Loading…
Reference in New Issue
Block a user