mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
add floating punctuation toggler for EPUBs
This commit is contained in:
@@ -357,6 +357,7 @@ function CreDocument:setPageMargins(left, top, right, bottom)
|
||||
end
|
||||
|
||||
function CreDocument:setFloatingPunctuation(enabled)
|
||||
-- FIXME: occasional segmentation fault when toggling floating punctuation
|
||||
DEBUG("CreDocument: set floating punctuation", enabled)
|
||||
self._document:setIntProperty("crengine.style.floating.punctuation.enabled", enabled)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user