diff options
-rw-r--r-- | plugins/settings.lua | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/plugins/settings.lua b/plugins/settings.lua index 80515f1..0387886 100644 --- a/plugins/settings.lua +++ b/plugins/settings.lua @@ -1448,7 +1448,7 @@ local contributors_list = { end ---@param self widget - local function update_positions(self) + function self.about:update_positions() local center = self:get_width() / 2 title.font = style.big_font @@ -1485,14 +1485,6 @@ local contributors_list = { contributors:set_visible_rows() end - - update_positions(self.about) - - local update_about = self.about.update - function self.about:update() - update_about(self) - update_positions(self) - end end ---Reposition and resize core and plugin widgets. @@ -1535,6 +1527,10 @@ function Settings:update() end end end + + if self.about:is_visible() then + self.about:update_positions() + end end -------------------------------------------------------------------------------- |