New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
copt deduplicate: font_size, visible_pages #10882
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No update in plugins/profiles.koplugin/main.lua needed ?
(grep visible_pages reveal there are many settings name in there, will they work as-is after your deduplications?)
@@ -401,7 +401,7 @@ If any of the other Swipe to follow link options is enabled, this will work only | |||
-- less visual feedback on PDF document of what is a link, or that we just | |||
-- followed a link, than on EPUB, it's safer to not use them on PDF documents | |||
-- even if the user enabled these features for EPUB documents). | |||
if not self.ui.document.info.has_pages then | |||
if not self.document.info.has_pages then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if self.ui.rolling
?
(A few of that below.)
@@ -1561,9 +1557,9 @@ function ReaderRolling:checkXPointersAndProposeDOMVersionUpgrade() | |||
end | |||
if g_block_rendering_mode ~= 0 then -- default is not "legacy" | |||
-- This setting is actually saved by self.ui.document.configurable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment can probably be updated or removed.
I can find one entry only. |
Yes, one entry of "visible_pages", but many other setting names with their short form, not the copt_ form. |
Main discussion in: #10763.
This change is