feat: add option to disable realigning working set windows on show/hide (#21)

This commit is contained in:
alexdenerqal
2024-03-30 09:32:52 +01:00
committed by GitHub
parent 7eb5201c90
commit aae649b1f2
3 changed files with 8 additions and 1 deletions

View File

@@ -150,7 +150,7 @@ where
self.overlays.values_mut().for_each(|o| {
if o.state.show_hide {
o.state.want_visible = !any_shown;
if o.state.want_visible && o.state.recenter {
if o.state.want_visible && app.session.config.realign_on_showhide && o.state.recenter {
o.state.reset(app, false);
}
}