mirror of https://github.com/koreader/koreader
ConfigDialog: fix ButtonProgressWidget and some refreshes (#4793)
This internal ButtonProgressWidget widget was behaving differently from all others (OptionTextItem, OptionIconItem and ToggleSwitch) by duplicating some code from ConfigDialog:onConfigChoose() instead of calling it directly. While making it similar to others, I noticed that onConfigChoose() did a full repaint, which was necessary for some settings to be applied (ie: Contrast). On CreDocument, this full repaint may cause some double drawing on config changes (ie: Margins, drawing once after margin changes, and then re-positionning to previous xpointer). So, make the need for full repaint a condition on KoptOptions.pull/4799/head
parent
9560bc2061
commit
c060595580
Loading…
Reference in New Issue