Skip to content

Commit

Permalink
fix winit example
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir committed Oct 27, 2023
1 parent fe0f345 commit 3a90ae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/winit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ fn main() -> wry::Result<()> {
event: WindowEvent::Resized(size),
..
} => {
webview.set_size(size.into());
_webview.set_size(size.into());
}
Event::WindowEvent {
event: WindowEvent::CloseRequested,
Expand Down

0 comments on commit 3a90ae9

Please sign in to comment.