ReaderHighlight: clearer symbols on selection start/end buttons

reviewable/pr7730/r1
poire-z 3 years ago
parent 6e2be98edc
commit 26750dab99

@ -617,15 +617,14 @@ function ReaderHighlight:onShowHighlightDialog(page, index)
} }
if not self.ui.document.info.has_pages then if not self.ui.document.info.has_pages then
local start_prev = "" local start_prev = "▒▒"
local start_next = "" local start_next = "▒▒"
local end_prev = "" local end_prev = "▒▒"
local end_next = "" local end_next = "▒▒"
if BD.mirroredUILayout() then if BD.mirroredUILayout() then
-- Sadly, there's only north west & south east arrow to corner, -- BiDi will mirror the arrows, and this just works
-- north east and south west do not exist in Unicode. start_prev, start_next = start_next, start_prev
start_prev, start_next = BD.ltr(start_next), BD.ltr(start_prev) end_prev, end_next = end_next, end_prev
end_prev, end_next = BD.ltr(end_next), BD.ltr(end_prev)
end end
table.insert(buttons, { table.insert(buttons, {
{ {

Loading…
Cancel
Save