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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user