Menu tracking now ignores mouse movements if they are too fast
(suggested by stippi). The movement threshold will be subject to changes, as I only tested on vmware and it's probably too high. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23528 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -181,7 +181,7 @@ private:
|
||||
BMenuItem* _Track(int* action, long start = -1);
|
||||
|
||||
void _UpdateStateOpenSelect(BMenuItem* item,
|
||||
bigtime_t& openTime, bigtime_t& closeTime);
|
||||
bigtime_t& openTime, const int32 &mouseSpeed);
|
||||
void _UpdateStateClose(BMenuItem* item, const BPoint& where,
|
||||
const uint32& buttons);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user