ui/note: fix weird ... placement regression

Fixes: c402320ad3 ("ui: fix broken note previews")
Fixes: https://github.com/damus-io/notedeck/issues/974
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2025-07-15 14:32:47 -07:00
parent 4735529731
commit fa545bc077

View File

@@ -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());
}