mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
TOC: use bidi_wrap_func (#8879)
Fixes RTL issue noticed at https://github.com/koreader/koreader/pull/8876#issue-1161280868
This commit is contained in:
@@ -667,6 +667,7 @@ function ReaderToc:onShowToc()
|
||||
v.index = k
|
||||
v.indent = toc_indent * (v.depth-1)
|
||||
v.text = self:cleanUpTocTitle(v.title, true)
|
||||
v.bidi_wrap_func = BD.auto
|
||||
v.mandatory = v.page
|
||||
if has_hidden_flows then
|
||||
local flow = self.ui.document:getPageFlow(v.page)
|
||||
|
||||
Reference in New Issue
Block a user