From b5403a6178c9f37dfeee258cc44cc3e2f4870e73 Mon Sep 17 00:00:00 2001 From: Vika Date: Wed, 19 Feb 2025 21:10:41 +0300 Subject: Document why we aren't using AdwMultiLayoutView in the post editor --- src/components/post_editor.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/components/post_editor.rs b/src/components/post_editor.rs index d9d85c0..7bc23b3 100644 --- a/src/components/post_editor.rs +++ b/src/components/post_editor.rs @@ -303,6 +303,9 @@ impl Component for Post }, }, + // We could've used AdwMultiLayoutView, but a raw + // breakpoint makes a bit more sense since we need to + // change some properties along the way. add_breakpoint = adw::Breakpoint::new( adw::BreakpointCondition::new_length( adw::BreakpointConditionLengthType::MinWidth, -- cgit 1.4.1