commit fa545bc07774a6eab272db065d95481c783b6257
parent 473552973140fabedc2b5a0e100f314769062b5c
Author: William Casarin <jb55@jb55.com>
Date: Tue, 15 Jul 2025 14:32:47 -0700
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 <jb55@jb55.com>
Diffstat:
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
@@ -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());
}