Remove T from EventLoopTargetWindow (#3081)

Co-authored-by: nerditation <12248559+nerditation@users.noreply.github.com>
This commit is contained in:
daxpeddaandnerditation authored and GitHub committed 2023-09-03 02:26:53 +02:00
1 parent d68d9eab38
commit 7a2a2341c2
5 files changed
+78 -48

No files matched your search

+3 -3
View File
@@ -463,10 +463,10 @@ impl Canvas {
self.animation_frame_handler.request();
}
pub(crate) fn handle_scale_change<T: 'static>(
pub(crate) fn handle_scale_change(
&self,
runner: &super::super::event_loop::runner::Shared<T>,
event_handler: impl FnOnce(crate::event::Event<T>),
runner: &super::super::event_loop::runner::Shared,
event_handler: impl FnOnce(crate::event::Event<()>),
current_size: PhysicalSize<u32>,
scale: f64,
) {