diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2023-03-23 18:55:41 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2023-04-30 13:19:53 +1000 |
commit | 4a33fede7bd74451db1e220eb0eb8649b03cbd0a (patch) | |
tree | 565bac400ddf2a59e92e733a34f8d618c336b341 /pkg/gui/gui.go | |
parent | db12853bbe825d69686ea71161497d1bbb120b8e (diff) |
move window arrangement helper
Diffstat (limited to 'pkg/gui/gui.go')
-rw-r--r-- | pkg/gui/gui.go | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go index 2f143d162..c0448cacd 100644 --- a/pkg/gui/gui.go +++ b/pkg/gui/gui.go @@ -825,13 +825,7 @@ func (gui *Gui) startBackgroundRoutines() { } func (gui *Gui) getWindowDimensions(informationStr string, appStatus string) map[string]boxlayout.Dimensions { - windowArranger := NewWindowArranger( - gui.c, - gui.helpers.Window, - gui.helpers.Mode, - gui.helpers.AppStatus, - ) - return windowArranger.getWindowDimensions(informationStr, appStatus) + return gui.helpers.WindowArrangement.GetWindowDimensions(informationStr, appStatus) } func (gui *Gui) popContext() error { |