mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 22:54:36 +00:00
Property refactoring
The tests are working and everything seems to be back normal. But there is still some cleanup required
This commit is contained in:
parent
facc18d0eb
commit
9d852f802e
7 changed files with 716 additions and 486 deletions
|
@ -83,6 +83,9 @@ impl EventLoop {
|
|||
event: winit::event::WindowEvent::MouseInput { state, .. },
|
||||
..
|
||||
} => {
|
||||
crate::animations::CURRENT_ANIMATION_DRIVER.with(|driver| {
|
||||
driver.borrow_mut().update_animations(instant::Instant::now());
|
||||
});
|
||||
ALL_WINDOWS.with(|windows| {
|
||||
if let Some(Some(window)) =
|
||||
windows.borrow().get(&window_id).map(|weakref| weakref.upgrade())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue