mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-02 05:15:54 +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 crate::view::OperationView;
|
||||
use crate::{geometry::Operation, view::OperationView};
|
||||
|
||||
pub struct TextRenderer {
|
||||
text_atlas: glyphon::TextAtlas,
|
||||
@ -91,7 +91,7 @@ impl TextRenderer {
|
||||
write!(line, "\t")?;
|
||||
}
|
||||
|
||||
write!(line, "{op}")?;
|
||||
write!(line, "{}", op.label())?;
|
||||
|
||||
buffer.lines.push(glyphon::BufferLine::new(
|
||||
line,
|
||||
|
Loading…
Reference in New Issue
Block a user