window: fix sidebar snap-collapse when dragged narrow
Remove shrink-start-child: false so the paned divider can actually be dragged below the sidebar's natural minimum width. Defer the snap-close via idle_add_local_once so widget visibility is not changed mid-drag.
This commit is contained in:
parent
6d6d928733
commit
d75c63a8ce
2 changed files with 8 additions and 3 deletions
|
|
@ -9,7 +9,6 @@ template $FeedTheMonkeyWindow : Adw.ApplicationWindow {
|
|||
Adw.ToastOverlay toast_overlay {
|
||||
Paned paned {
|
||||
focusable: false;
|
||||
shrink-start-child: false;
|
||||
resize-start-child: false;
|
||||
|
||||
start-child: Adw.ToolbarView sidebar_toolbar {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue