From fa545bc07774a6eab272db065d95481c783b6257 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Tue, 15 Jul 2025 14:32:47 -0700 Subject: [PATCH] ui/note: fix weird ... placement regression Fixes: c402320ad334 ("ui: fix broken note previews") Fixes: https://github.com/damus-io/notedeck/issues/974 Signed-off-by: William Casarin --- crates/notedeck_ui/src/note/contents.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/notedeck_ui/src/note/contents.rs b/crates/notedeck_ui/src/note/contents.rs index f070a8b8..61fd15bc 100644 --- a/crates/notedeck_ui/src/note/contents.rs +++ b/crates/notedeck_ui/src/note/contents.rs @@ -133,7 +133,7 @@ pub fn render_note_contents( let mut current_len: usize = 0; let truncate_len = 280; - if !options.has(NoteOptions::HasNotePreviews) { + if !options.has(NoteOptions::IsPreview) { // need this for the rect to take the full width of the column let _ = ui.allocate_at_least(egui::vec2(ui.available_width(), 0.0), egui::Sense::click()); }