Reader style tweaks: register in Dispatcher manually (#9816)

Style tweaks can be applied with a gesture or added to a profile.
This commit is contained in:
hius07
2022-11-22 14:46:44 +02:00
committed by GitHub
parent 486d7071c7
commit 5b889a0145
4 changed files with 111 additions and 52 deletions

View File

@@ -681,7 +681,7 @@ function TouchMenu:updateItems()
if item_tmp:isEnabled() then
table.insert(self.layout, {[self.cur_tab] = item_tmp}) -- for the focusmanager
end
if item.separator and c ~= self.perpage then
if item.separator and c ~= self.perpage and i ~= #self.item_table then
-- insert split line
table.insert(self.item_group, self.split_line)
end