1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 22:30:03 -04:00

Final touch-ups of glow code

This commit is contained in:
Emil Ernerfeldt
2023-11-14 08:33:55 +01:00
parent 4aefb2676b
commit 17614cd4b6
4 changed files with 82 additions and 75 deletions

View File

@@ -135,6 +135,7 @@ impl State {
event_loop_proxy: winit::event_loop::EventLoopProxy<T>,
initial_tree_update_factory: impl 'static + FnOnce() -> accesskit::TreeUpdate + Send,
) {
crate::profile_function!();
self.accesskit = Some(accesskit_winit::Adapter::new(
window,
initial_tree_update_factory,
@@ -997,6 +998,8 @@ pub fn process_viewport_commands(
window: &winit::window::Window,
is_viewport_focused: bool,
) {
crate::profile_function!();
use winit::window::ResizeDirection;
for command in commands {