Extract handler set from MouseRegion

This commit is contained in:
K Simmons 2022-07-18 09:54:48 -07:00
parent 8add81350e
commit ec25fa9260
3 changed files with 332 additions and 253 deletions

View file

@ -252,7 +252,6 @@ impl Presenter {
} else if let Some(handler) = region
.handlers
.get(&(MouseRegionEvent::down_out_disc(), Some(*button)))
.cloned()
{
mouse_down_out_handlers.push((
handler,