Alt status bar: full repaint on font size change

This commit is contained in:
poire-z
2021-01-31 12:15:39 +01:00
parent 6c0345de17
commit 062bb68335

View File

@@ -303,6 +303,8 @@ function ReaderCoptListener:getAltStatusBarMenu()
-- we keep open, no need to handle this case.
self:setAndSave("cre_header_status_font_size", "crengine.page.header.font.size", spin.value)
if touchmenu_instance then touchmenu_instance:updateItems() end
-- Repaint the whole page, as changing this should cause a re-rendering
UIManager:setDirty(self.view.dialog, "ui")
end
}
UIManager:show(size_spinner)