From 078be52ff87abe8d4ceeb976e0deae33fddee0c5 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Sun, 1 May 2022 15:27:12 +0200 Subject: [PATCH] README.md: Fix broken links to toggle_switch.rs example code --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a3baa791..361d4129 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ On Fedora Rawhide you need to run: * A simple 2D graphics API for custom painting ([`epaint`](https://docs.rs/epaint)). * No callbacks * Pure immediate mode -* Extensible: [easy to write your own widgets for egui](https://github.com/emilk/egui/blob/master/egui_demo_lib/src/apps/demo/toggle_switch.rs) +* Extensible: [easy to write your own widgets for egui](https://github.com/emilk/egui/blob/master/egui_demo_lib/src/demo/toggle_switch.rs) * Modular: You should be able to use small parts of egui and combine them in new ways * Safe: there is no `unsafe` code in egui * Minimal dependencies: [`ab_glyph`](https://crates.io/crates/ab_glyph) [`ahash`](https://crates.io/crates/ahash) [`nohash-hasher`](https://crates.io/crates/nohash-hasher) [`parking_lot`](https://crates.io/crates/parking_lot) @@ -112,7 +112,7 @@ The obvious alternative to egui is [`imgui-rs`](https://github.com/Gekkio/imgui- * egui is pure Rust * egui is easily compiled to WASM * egui lets you use native Rust string types (`imgui-rs` forces you to use annoying macros and wrappers for zero-terminated strings) -* [Writing your own widgets in egui is simple](https://github.com/emilk/egui/blob/master/egui_demo_lib/src/apps/demo/toggle_switch.rs) +* [Writing your own widgets in egui is simple](https://github.com/emilk/egui/blob/master/egui_demo_lib/src/demo/toggle_switch.rs) egui also tries to improve your experience in other small ways: