mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 22:00:03 -04:00
Fix typos (#2866)
* Fix typos in comments * Fix typos in demo texts * Fix typos in code names * Fix typos in cargos * Fix typos in changelogs
This commit is contained in:
@@ -40,7 +40,7 @@ impl ColorTest {
|
||||
ui.horizontal_wrapped(|ui|{
|
||||
ui.label("This is made to test that the egui painter backend is set up correctly.");
|
||||
ui.add(egui::Label::new("❓").sense(egui::Sense::click()))
|
||||
.on_hover_text("The texture sampling should be sRGB-aware, and everyt other color operation should be done in gamma-space (sRGB). All colors should use pre-multiplied alpha");
|
||||
.on_hover_text("The texture sampling should be sRGB-aware, and every other color operation should be done in gamma-space (sRGB). All colors should use pre-multiplied alpha");
|
||||
});
|
||||
ui.label("If the rendering is done right, all groups of gradients will look uniform.");
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@ impl super::View for IdTest {
|
||||
As long as elements are not added or removed, the Id stays the same. \
|
||||
This is fine, because during interaction (i.e. while dragging a slider), \
|
||||
the number of widgets previously in the same window is most likely not changing \
|
||||
(and if it is, the window will have a new layout, and the slider will endup somewhere else, and so aborthing the interaction probably makes sense).");
|
||||
(and if it is, the window will have a new layout, and the slider will end up somewhere else, and so aborting the interaction probably makes sense).");
|
||||
|
||||
ui.label("So these buttons have automatic Id:s, and therefore there is no name clash:");
|
||||
let _ = ui.button("Button");
|
||||
|
||||
Reference in New Issue
Block a user