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:
Jeena 2026-03-22 04:20:02 +00:00
parent 6d6d928733
commit d75c63a8ce
2 changed files with 8 additions and 3 deletions

View file

@ -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 {