window: Use only one breakpoint

AdwBreakpoint automatically resets properties when the breakpoint
conditions no longer apply. This means we don't need to manually
create a breakpoint for the sidebar at widths greater than 590px,
as libadwaita already does that for us.

This commit removes the extra breakpoint.

Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/228>
This commit is contained in:
Christopher Davis 2023-05-31 06:50:34 -04:00 • committed by Marge Bot
parent 4d391b566e
commit 5297231137

View file

@ -68,13 +68,6 @@
</lookup> </lookup>
</closure> </closure>
</binding> </binding>
<child>
<object class="AdwBreakpoint">
<condition>min-width: 590px</condition>
<setter object="properties_flap" property="orientation">horizontal</setter>
<setter object="stack" property="visible">true</setter>
</object>
</child>
<child> <child>
<object class="AdwBreakpoint"> <object class="AdwBreakpoint">
<condition>max-width: 590px</condition> <condition>max-width: 590px</condition>