mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -04:00
Fixed a typo (#1985)
custom_window_frame was spelled as custon_window_frame
This commit is contained in:
@@ -29,7 +29,7 @@ impl eframe::App for MyApp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) {
|
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.label("This is just the contents of the window");
|
||||||
ui.horizontal(|ui| {
|
ui.horizontal(|ui| {
|
||||||
ui.label("egui theme:");
|
ui.label("egui theme:");
|
||||||
@@ -39,7 +39,7 @@ impl eframe::App for MyApp {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn custon_window_frame(
|
fn custom_window_frame(
|
||||||
ctx: &egui::Context,
|
ctx: &egui::Context,
|
||||||
frame: &mut eframe::Frame,
|
frame: &mut eframe::Frame,
|
||||||
title: &str,
|
title: &str,
|
||||||
|
|||||||
Reference in New Issue
Block a user