Lowered the delay in menus after which they don't switch to sticky mode, should fix bug 491, although its not really a bug
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17153 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2420234dff
commit
4697016070
|
@ -1214,7 +1214,7 @@ BMenu::_track(int *action, bigtime_t trackTime, long start)
|
|||
localAction = MENU_ACT_CLOSE;
|
||||
break;
|
||||
} else if (buttons == 0 && !IsStickyMode()) {
|
||||
if (IsStickyPrefOn() && system_time() < trackTime + 2000000)
|
||||
if (IsStickyPrefOn() && system_time() < trackTime + 1000000)
|
||||
SetStickyMode(true);
|
||||
else {
|
||||
localAction = MENU_ACT_CLOSE;
|
||||
|
|
Loading…
Reference in New Issue