mirror of https://github.com/koreader/koreader
allow for more control on refreshes when show()ing widgets
for now, we have show() automatically call setDirty() for the new widget, as before. However, now show() takes two arguments for refresh configuration that will get passed on to setDirty(). For compatibility, the default is here in show() to do a partial refresh. So if you want no refresh triggered (via this show() call), add a function that doesn't return anything.pull/1310/head
parent
3f9dc46315
commit
afb59667c0
Loading…
Reference in New Issue