Slider: show_value, hide tooltip on button press

[skip ci]
This commit is contained in:
Aleksander
2025-12-19 16:48:07 +01:00
parent e04edec586
commit 171021d6c5
5 changed files with 40 additions and 22 deletions

View File

@@ -320,6 +320,7 @@ fn register_event_mouse_press(state: Rc<RefCell<State>>, listeners: &mut EventLi
if state.hovered {
state.down = true;
state.active_tooltip = None;
Ok(EventResult::Consumed)
} else {
Ok(EventResult::Pass)