mirror of
https://github.com/aljazceru/notedeck.git
synced 2026-01-28 20:54:19 +01:00
Revert "text: make content selectable"
Can't drag as easy with selectable timeline text
This reverts commit f5b7b0b1b8.
This commit is contained in:
@@ -334,7 +334,7 @@ fn render_events(ui: &mut egui::Ui, damus: &mut Damus) {
|
||||
ui.with_layout(egui::Layout::top_down(egui::Align::LEFT), |ui| {
|
||||
render_username(ui, &damus.contacts, &ev.pubkey);
|
||||
|
||||
selectable_text(ui, &ev.content);
|
||||
ui.label(&ev.content);
|
||||
})
|
||||
});
|
||||
|
||||
@@ -342,10 +342,6 @@ fn render_events(ui: &mut egui::Ui, damus: &mut Damus) {
|
||||
}
|
||||
}
|
||||
|
||||
fn selectable_text(ui: &mut egui::Ui, mut text: &str) {
|
||||
ui.add(egui::TextEdit::multiline(&mut text));
|
||||
}
|
||||
|
||||
fn timeline_view(ui: &mut egui::Ui, app: &mut Damus) {
|
||||
ui.heading("Timeline");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user