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:
Stefano Ceccherini 2006-04-17 14:13:08 +00:00
parent 2420234dff
commit 4697016070
1 changed files with 1 additions and 1 deletions

View File

@ -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;