mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Add more granularity in line-height settings with CRe (#4785)
70 -> 130, in steps of 5 ;).
This commit is contained in:
@@ -233,7 +233,7 @@ function ReaderFont:onSetFontSize(new_size)
|
||||
end
|
||||
|
||||
function ReaderFont:onSetLineSpace(space)
|
||||
self.line_space_percent = math.min(200, math.max(80, space))
|
||||
self.line_space_percent = math.min(200, math.max(50, space))
|
||||
UIManager:show(Notification:new{
|
||||
text = T( _("Line spacing set to %1%."), self.line_space_percent),
|
||||
timeout = 2,
|
||||
|
||||
Reference in New Issue
Block a user