mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
flash_ui: Workaround potential EPDC races (#7332)
* flash_ui: Yield to the kernel between the HL and the UNHL/CB to let the EPDC do its thing in peace. * UIManager: Handle nils in task scheduling arguments. * SkimTo: Use the same, thicker chapter nav icons as ReaderSearch (fix #7326). * SkimTo: The bookmark toggle button doesn't require a vsync flag.
This commit is contained in:
@@ -115,6 +115,7 @@ function CheckButton:onTapCheckButton()
|
||||
UIManager:setDirty(nil, "fast", highlight_dimen)
|
||||
|
||||
UIManager:forceRePaint()
|
||||
UIManager:yieldToEPDC()
|
||||
|
||||
-- Unhighlight
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user