diff options
author | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2022-01-19 22:37:30 -0300 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2022-01-20 02:23:42 +0000 |
commit | 45c7207cc36e6431a9297bf7a698f6b0731486c5 (patch) | |
tree | d168bc09ab689d9bca64f29aea473ef699cd670d /shell/cc-window.ui | |
parent | b11ea45a957c6145a89b90c0618c0d54b6160204 (diff) | |
download | gnome-control-center-45c7207cc36e6431a9297bf7a698f6b0731486c5.tar.gz |
window: Improve transition between panels
Moving the headerbar to the panels accentuated a pre-existing
problem: transitioning between panels is flickery because we
immediately remove the old panel, while the new panel fades
in.
Improve this transition by delaying the removal of the old
panel to after the stack transition finishes.
Diffstat (limited to 'shell/cc-window.ui')
-rw-r--r-- | shell/cc-window.ui | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/cc-window.ui b/shell/cc-window.ui index 6f0f3f979..07e1848e7 100644 --- a/shell/cc-window.ui +++ b/shell/cc-window.ui @@ -122,6 +122,7 @@ <property name="vexpand">True</property> <property name="transition_type">crossfade</property> <property name="width_request">360</property> + <signal name="notify::transition-running" handler="on_stack_transition_running_changed_cb" object="CcWindow" swapped="no" /> <style> <class name="background"/> </style> |