1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 06:10:06 -04:00
* 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:
Jozef Číž
2023-04-18 15:52:45 +02:00
committed by GitHub
parent 8326fffdb0
commit 33aa4d698f
30 changed files with 51 additions and 51 deletions

View File

@@ -1219,7 +1219,7 @@ impl Tessellator {
out.append_ref(mesh);
}
/// Tessellate a line segment between the two points with the given stoken into a [`Mesh`].
/// Tessellate a line segment between the two points with the given stroke into a [`Mesh`].
///
/// * `shape`: the mesh to tessellate.
/// * `out`: triangles are appended to this.
@@ -1314,7 +1314,7 @@ impl Tessellator {
rect.max = rect.max.at_most(pos2(1e7, 1e7));
if rect.width() < self.feathering {
// Very thin - approximate by a vertial line-segment:
// Very thin - approximate by a vertical line-segment:
let line = [rect.center_top(), rect.center_bottom()];
if fill != Color32::TRANSPARENT {
self.tessellate_line(line, Stroke::new(rect.width(), fill), out);