mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Increase granularity of the font size fine tuning button
Should allow us to get at the full 12 to 30 range when scaled on a 300dpi device (29 -> 72 or 26 -> 64 w/ a dpi override).
This commit is contained in:
@@ -207,7 +207,7 @@ end
|
||||
UpdatePos event is used to tell ReaderRolling to update pos.
|
||||
--]]
|
||||
function ReaderFont:onChangeSize(direction, font_delta)
|
||||
local delta = direction == "decrease" and -1 or 1
|
||||
local delta = direction == "decrease" and -0.5 or 0.5
|
||||
if font_delta then
|
||||
self.font_size = self.font_size + font_delta * delta
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user