Store generic mouse regions on window that contain their event type id
This commit is contained in:
parent
812d3f6af6
commit
b95b2af3e0
8 changed files with 130 additions and 57 deletions
|
@ -83,7 +83,7 @@ pub fn derive_element(input: TokenStream) -> TokenStream {
|
|||
&mut self.metadata.style
|
||||
}
|
||||
|
||||
fn handlers_mut(&mut self) -> &mut #crate_name::element::ElementHandlers<V> {
|
||||
fn handlers_mut(&mut self) -> &mut Vec<#crate_name::element::EventHandler<V>> {
|
||||
&mut self.metadata.handlers
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue