mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-03 17:38:27 +00:00
Draw list of operations
This commit is contained in:
parent
00dcff4676
commit
a20b8e56e1
@ -89,12 +89,13 @@ impl TextRenderer {
|
||||
}
|
||||
|
||||
let mut text_areas = Vec::new();
|
||||
let mut top = 0.;
|
||||
|
||||
for buffer in &buffers {
|
||||
text_areas.push(glyphon::TextArea {
|
||||
buffer,
|
||||
left: 0.,
|
||||
top: 0.,
|
||||
top,
|
||||
scale: self.scale_factor,
|
||||
bounds: glyphon::TextBounds {
|
||||
left: 0,
|
||||
@ -105,6 +106,8 @@ impl TextRenderer {
|
||||
default_color: glyphon::Color::rgb(0, 0, 0),
|
||||
custom_glyphs: &[],
|
||||
});
|
||||
|
||||
top += 20.0 * self.scale_factor;
|
||||
}
|
||||
|
||||
self.text_renderer
|
||||
|
Loading…
Reference in New Issue
Block a user