Make ShapeWord::x/y_advance pub

This commit is contained in:
Hojjat 2022-12-17 14:37:05 -07:00 • committed by Jeremy Soller
parent 25a3367ef9
commit e38a302599

View file

@ -278,8 +278,8 @@ impl ShapeGlyph {
pub struct ShapeWord { pub struct ShapeWord {
pub blank: bool, pub blank: bool,
pub glyphs: Vec<ShapeGlyph>, pub glyphs: Vec<ShapeGlyph>,
x_advance: f32, pub x_advance: f32,
y_advance: f32, pub y_advance: f32,
} }
impl ShapeWord { impl ShapeWord {