chore: Fixed formatting

macos-click-through
Serg Tereshchenko 3 years ago
parent 43bab8404b
commit 07c0349e4a

@ -276,10 +276,7 @@ impl CachingShaper {
shaper.shape_with(|glyph_cluster| { shaper.shape_with(|glyph_cluster| {
for glyph in glyph_cluster.glyphs { for glyph in glyph_cluster.glyphs {
let position = ( let position = ((glyph.data as u64 * glyph_width) as f32, glyph.y);
(glyph.data as u64 * glyph_width) as f32,
glyph.y,
);
glyph_data.push((glyph.id, position)); glyph_data.push((glyph.id, position));
} }
}); });

Loading…
Cancel
Save