mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-18 00:54:21 +01:00
fix(columns): render wide notes on narrow screen
This commit is contained in:
@@ -361,6 +361,10 @@ fn render_damus(
|
|||||||
app_ctx: &mut AppContext<'_>,
|
app_ctx: &mut AppContext<'_>,
|
||||||
ui: &mut egui::Ui,
|
ui: &mut egui::Ui,
|
||||||
) -> Option<AppAction> {
|
) -> Option<AppAction> {
|
||||||
|
damus
|
||||||
|
.note_options
|
||||||
|
.set(NoteOptions::Wide, is_narrow(ui.ctx()));
|
||||||
|
|
||||||
let app_action = if notedeck::ui::is_narrow(ui.ctx()) {
|
let app_action = if notedeck::ui::is_narrow(ui.ctx()) {
|
||||||
render_damus_mobile(damus, app_ctx, ui)
|
render_damus_mobile(damus, app_ctx, ui)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user