1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-28 15:33:14 -04:00

Rename master branch to main (#7034)

For consistency with other repositories, i.e. so I can write `git
checkout main` without worrying which repo I'm browsing.
This commit is contained in:
Emil Ernerfeldt
2025-05-08 09:15:42 +02:00
committed by GitHub
parent 7216d0e386
commit d0876a1a60
37 changed files with 85 additions and 85 deletions

View File

@@ -133,7 +133,7 @@ impl CreationContext<'_> {
// ----------------------------------------------------------------------------
/// Implement this trait to write apps that can be compiled for both web/wasm and desktop/native using [`eframe`](https://github.com/emilk/egui/tree/master/crates/eframe).
/// Implement this trait to write apps that can be compiled for both web/wasm and desktop/native using [`eframe`](https://github.com/emilk/egui/tree/main/crates/eframe).
pub trait App {
/// Called each time the UI needs repainting, which may be many times per second.
///

View File

@@ -3,7 +3,7 @@
//! If you are planning to write an app for web or native,
//! and want to use [`egui`] for everything, then `eframe` is for you!
//!
//! To get started, see the [examples](https://github.com/emilk/egui/tree/master/examples).
//! To get started, see the [examples](https://github.com/emilk/egui/tree/main/examples).
//! To learn how to set up `eframe` for web and native, go to <https://github.com/emilk/eframe_template/> and follow the instructions there!
//!
//! In short, you implement [`App`] (especially [`App::update`]) and then