From 732d6ed99b6910a7f0c3dade8c67b544b697d6bc Mon Sep 17 00:00:00 2001 From: Piotr Grabowski Date: Tue, 12 Jul 2022 13:59:13 +0200 Subject: [PATCH] qual: remove unnecessary recalculation code in `setHideUI()` --- config.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/config.go b/config.go index 9daf730..389e317 100644 --- a/config.go +++ b/config.go @@ -205,11 +205,6 @@ func (app *App) setHideUI(hideUI bool) { app.W.Statusbar.Show() } - // Force child size recalculation - // FIXME: This sometimes doesn't have an effect - app.W.MainContainer.Hide() - app.W.MainContainer.Show() - app.W.MenuItemHideUI.SetActive(hideUI) }