Skip to content

Commit

Permalink
Refactor ChangeFlags and requests (#151)
Browse files Browse the repository at this point in the history
* Refactor ChangeFlags

* Drive animations once per frame

* Add tracking of paint requests

* Add `schedule_style`, `schedule_layout` and `schedule_paint`
  • Loading branch information
Zoxc authored Nov 6, 2023
1 parent b187eec commit bd34253
Show file tree
Hide file tree
Showing 18 changed files with 217 additions and 381 deletions.
2 changes: 1 addition & 1 deletion src/app_handle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ impl ApplicationHandle {
window_handle.menu_action(id);
}
WindowEvent::RedrawRequested => {
window_handle.paint();
window_handle.render_frame();
}
}
}
Expand Down
Loading

0 comments on commit bd34253

Please sign in to comment.