dave: improve multi-note display

This commit is contained in:
William Casarin
2025-04-20 09:05:02 -07:00
parent a33aad1f62
commit 5811a5f4e6
3 changed files with 42 additions and 22 deletions

View File

@@ -211,9 +211,17 @@ pub fn render_note_contents(
BlockType::Text => {
if options.has_scramble_text() {
ui.add(egui::Label::new(rot13(block.as_str())).selectable(selectable));
ui.add(
egui::Label::new(rot13(block.as_str()))
.wrap()
.selectable(selectable),
);
} else {
ui.add(egui::Label::new(block.as_str()).selectable(selectable));
ui.add(
egui::Label::new(block.as_str())
.wrap()
.selectable(selectable),
);
}
}