mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 06:10:06 -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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user