mirror of
https://github.com/kristoferssolo/mandelbrot-gui.git
synced 2025-10-21 20:00:34 +00:00
fix: typo
This commit is contained in:
parent
2d84dda95a
commit
a68141f64e
@ -76,7 +76,7 @@ impl MandelbrotApp {
|
|||||||
impl App for MandelbrotApp {
|
impl App for MandelbrotApp {
|
||||||
fn update(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) {
|
fn update(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) {
|
||||||
CentralPanel::default().show(ctx, |ui| {
|
CentralPanel::default().show(ctx, |ui| {
|
||||||
ui.heading("Solo Mandlebort Set");
|
ui.heading("Solo Mandelbrot Set");
|
||||||
|
|
||||||
// Handle mouse wheel for zooming
|
// Handle mouse wheel for zooming
|
||||||
let scroll_delta = ctx.input(|i| i.raw_scroll_delta);
|
let scroll_delta = ctx.input(|i| i.raw_scroll_delta);
|
||||||
@ -146,7 +146,7 @@ fn main() -> Result<(), Error> {
|
|||||||
};
|
};
|
||||||
|
|
||||||
eframe::run_native(
|
eframe::run_native(
|
||||||
"Solo Mandlebort Set",
|
"Solo Mandelbrot Set",
|
||||||
native_options,
|
native_options,
|
||||||
Box::new(|_cc| Ok(Box::new(app))),
|
Box::new(|_cc| Ok(Box::new(app))),
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user