abuse macros..

This commit is contained in:
iris committed 2025-12-20 00:26:08 -05:00
1 parent bae17235c6
commit fabc7d0b90
12 files changed
+125 -45

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ use crate::prelude::*;
pub mod eventable {
use super::*;
widget_trait! {
pub trait Eventable<State: HasEvents + 'static>;
pub trait Eventable<State: HasEvents + StateLike<State> + 'static>;
fn on<E: EventLike>(
self,
event: E,