1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 14:50:03 -04:00

Replace every ... with … like some sort of crazy person

Also fix some small typos

Closes https://github.com/emilk/egui/pull/736
This commit is contained in:
Emil Ernerfeldt
2021-10-13 11:52:34 +02:00
parent 85941033e8
commit 6f699b3391
21 changed files with 35 additions and 35 deletions

View File

@@ -163,7 +163,7 @@ impl Widgets {
ui.heading("The name of the tooltip");
ui.horizontal(|ui| {
ui.label("This tooltip was created with");
ui.monospace(".on_hover_ui(...)");
ui.monospace(".on_hover_ui()");
});
let _ = ui.button("A button you can never press");
};

View File

@@ -54,11 +54,11 @@ pub fn password_ui(ui: &mut egui::Ui, text: &mut String) -> egui::Response {
ui.memory().id_data_temp.insert(id, plaintext);
// All done! Return the interaction response so the user can check what happened
// (hovered, clicked, ...) and maybe show a tooltip:
// (hovered, clicked, ) and maybe show a tooltip:
result.response
}
// A wrapper that allows the more idiomatic usage pattern: `ui.add(...)`
// A wrapper that allows the more idiomatic usage pattern: `ui.add()`
/// Password entry field with ability to toggle character hiding.
///
/// ## Example:

View File

@@ -155,7 +155,7 @@ impl BackendPanel {
ui.label(
"Everything you see is rendered as textured triangles. There is no DOM. There are no HTML elements. \
This is not JavaScript. This is Rust, running at 60 FPS. This is the web page, reinvented with game tech.");
ui.label("This is also work in progress, and not ready for production... yet :)");
ui.label("This is also work in progress, and not ready for production yet :)");
ui.horizontal_wrapped(|ui| {
ui.label("Project home page:");
ui.hyperlink("https://github.com/emilk/egui");