when using enter or space to invoke a button, have the button snooze a mikrod to make sure the visuals get across
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14930 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
db3c2e1e8e
commit
e1d08bc65b
|
@ -427,8 +427,13 @@ BButton::KeyDown(const char *bytes, int32 numBytes)
|
|||
return;
|
||||
|
||||
SetValue(B_CONTROL_ON);
|
||||
|
||||
// make sure the user saw that
|
||||
Window()->UpdateIfNeeded();
|
||||
snooze(25000);
|
||||
|
||||
Invoke();
|
||||
|
||||
|
||||
} else
|
||||
BControl::KeyDown(bytes, numBytes);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue