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:
parent
4d391b566e
commit
5297231137
1 changed files with 0 additions and 7 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue