From 613a664c45561efcb093b54561bd549ee673fdf0 Mon Sep 17 00:00:00 2001 From: RadonCoding <86915746+RadonCoding@users.noreply.github.com> Date: Tue, 30 Aug 2022 11:12:52 +0300 Subject: [PATCH] Fixed a typo (#1985) custom_window_frame was spelled as custon_window_frame --- examples/custom_window_frame/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/custom_window_frame/src/main.rs b/examples/custom_window_frame/src/main.rs index b9d636fb..ed1d931b 100644 --- a/examples/custom_window_frame/src/main.rs +++ b/examples/custom_window_frame/src/main.rs @@ -29,7 +29,7 @@ impl eframe::App for MyApp { } fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { - custon_window_frame(ctx, frame, "egui with custom frame", |ui| { + custom_window_frame(ctx, frame, "egui with custom frame", |ui| { ui.label("This is just the contents of the window"); ui.horizontal(|ui| { ui.label("egui theme:"); @@ -39,7 +39,7 @@ impl eframe::App for MyApp { } } -fn custon_window_frame( +fn custom_window_frame( ctx: &egui::Context, frame: &mut eframe::Frame, title: &str,