📦📎-fixes, typo fixes

This commit is contained in:
Aleksander
2025-09-20 12:17:17 +02:00
parent cfb733de09
commit b9e5541971
41 changed files with 494 additions and 498 deletions

View File

@@ -216,10 +216,10 @@ fn register_event_mouse_release<U1, U2>(
if state.down {
state.down = false;
if state.hovered {
if let Some(on_click) = &state.on_click {
on_click(common, ButtonClickEvent {})?;
}
if state.hovered
&& let Some(on_click) = &state.on_click
{
on_click(common, ButtonClickEvent {})?;
}
}