Inline redundant variable

This commit is contained in:
Hanno Braun 2024-11-27 19:01:00 +01:00
parent 4a6888d3b2
commit 7e54b3484b

View File

@ -87,12 +87,10 @@ impl TextRenderer {
buffer.shape_until_scroll(&mut self.font_system, false);
let top = 0.;
let text_areas = [glyphon::TextArea {
buffer: &buffer,
left: 0.,
top,
top: 0.,
scale: self.scale_factor,
bounds: glyphon::TextBounds {
left: 0,