mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 11:28:17 -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);
|
||||
throw_event_pattern(_within_pattern, new_region, ButtonHandle::none());
|
||||
}
|
||||
}
|
||||
|
||||
// Determine which is the "preferred region", if any. This is the
|
||||
// topmost region that the mouse cursor is over, and the one that
|
||||
@ -368,7 +369,6 @@ set_current_regions(MouseWatcher::VRegions ®ions) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: MouseWatcher::clear_current_regions
|
||||
|
Loading…
x
Reference in New Issue
Block a user