mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
region that appears under mouse while mouse button is held down should become available
This commit is contained in:
parent
8f44b168e4
commit
64bb9dc4c0
@ -343,6 +343,7 @@ set_current_regions(MouseWatcher::VRegions ®ions) {
|
|||||||
new_region->within(param);
|
new_region->within(param);
|
||||||
throw_event_pattern(_within_pattern, new_region, ButtonHandle::none());
|
throw_event_pattern(_within_pattern, new_region, ButtonHandle::none());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Determine which is the "preferred region", if any. This is the
|
// Determine which is the "preferred region", if any. This is the
|
||||||
// topmost region that the mouse cursor is over, and the one that
|
// topmost region that the mouse cursor is over, and the one that
|
||||||
@ -367,7 +368,6 @@ set_current_regions(MouseWatcher::VRegions ®ions) {
|
|||||||
throw_event_pattern(_enter_pattern, _preferred_region, ButtonHandle::none());
|
throw_event_pattern(_enter_pattern, _preferred_region, ButtonHandle::none());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user