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:
NiLuJe
2021-02-22 02:09:44 +01:00
committed by GitHub
parent e582036c3e
commit 75356f2837
11 changed files with 70 additions and 39 deletions

View File

@@ -115,6 +115,7 @@ function CheckButton:onTapCheckButton()
UIManager:setDirty(nil, "fast", highlight_dimen)
UIManager:forceRePaint()
UIManager:yieldToEPDC()
-- Unhighlight
--