fix: remove obsolete event-loop arguments from native close handling
Verify Tessera GUI / verify (push) Successful in 3m24s
Verify Tessera GUI / verify (push) Successful in 3m24s
This commit is contained in:
+5
-5
@@ -185,7 +185,7 @@ impl TesseraApp {
|
||||
}
|
||||
}
|
||||
|
||||
fn apply_window_commands(&mut self, event_loop: &ActiveEventLoop) {
|
||||
fn apply_window_commands(&mut self) {
|
||||
let Ok(mut namespace) = self.namespace.write() else {
|
||||
return;
|
||||
};
|
||||
@@ -296,7 +296,7 @@ impl TesseraApp {
|
||||
|
||||
fn document_updated(&mut self, event_loop: &ActiveEventLoop) {
|
||||
self.reconcile_windows(event_loop);
|
||||
self.apply_window_commands(event_loop);
|
||||
self.apply_window_commands();
|
||||
if let Ok(namespace) = self.namespace.read() {
|
||||
self.developer_tools.document_updated(&namespace.document);
|
||||
let frame = &namespace.document.frame;
|
||||
@@ -997,7 +997,7 @@ impl TesseraApp {
|
||||
self.window = Some(window.clone());
|
||||
self.context = Some(context);
|
||||
self.surface = Some(surface);
|
||||
self.apply_window_commands(event_loop);
|
||||
self.apply_window_commands();
|
||||
self.publish_viewport();
|
||||
window.request_redraw();
|
||||
self.native_error = None;
|
||||
@@ -1174,7 +1174,7 @@ impl ApplicationHandler<AppEvent> for TesseraApp {
|
||||
|
||||
fn window_event(
|
||||
&mut self,
|
||||
event_loop: &ActiveEventLoop,
|
||||
_event_loop: &ActiveEventLoop,
|
||||
window_id: WindowId,
|
||||
event: WindowEvent,
|
||||
) {
|
||||
@@ -1192,7 +1192,7 @@ impl ApplicationHandler<AppEvent> for TesseraApp {
|
||||
.as_ref()
|
||||
.is_some_and(|window| window.id() == window_id)
|
||||
}) {
|
||||
child.window_event(event_loop, window_id, event);
|
||||
child.window_event(_event_loop, window_id, event);
|
||||
self.publish_viewport();
|
||||
}
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user