fix internal events blocking custom events on the same widget

This commit is contained in:
galister
2025-10-31 19:10:13 +09:00
parent 44b9a79849
commit 81d2672740
3 changed files with 5 additions and 6 deletions

View File

@@ -2,10 +2,11 @@ use std::{
any::{Any, TypeId},
cell::RefMut,
collections::HashSet,
ops::Deref,
};
use glam::Vec2;
use slotmap::{DenseSlotMap, new_key_type};
use slotmap::{new_key_type, DenseSlotMap};
use crate::{
animation::{self, Animation},
@@ -184,7 +185,7 @@ impl CallbackMetadata {
}
}
#[derive(Clone, Copy, PartialEq, Eq)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum EventListenerKind {
MousePress,
MouseRelease,