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:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user