mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-08 16:25:52 +00:00
Prepare to lift fmt::Display
requirement
This commit is contained in:
parent
183d834b3d
commit
cb165bbd81
@ -1,6 +1,6 @@
|
|||||||
use std::fmt::Write;
|
use std::fmt::Write;
|
||||||
|
|
||||||
use crate::view::OperationView;
|
use crate::{geometry::Operation, view::OperationView};
|
||||||
|
|
||||||
pub struct TextRenderer {
|
pub struct TextRenderer {
|
||||||
text_atlas: glyphon::TextAtlas,
|
text_atlas: glyphon::TextAtlas,
|
||||||
@ -91,7 +91,7 @@ impl TextRenderer {
|
|||||||
write!(line, "\t")?;
|
write!(line, "\t")?;
|
||||||
}
|
}
|
||||||
|
|
||||||
write!(line, "{op}")?;
|
write!(line, "{}", op.label())?;
|
||||||
|
|
||||||
buffer.lines.push(glyphon::BufferLine::new(
|
buffer.lines.push(glyphon::BufferLine::new(
|
||||||
line,
|
line,
|
||||||
|
Loading…
Reference in New Issue
Block a user