Custom DPI: increase upper bound from 330 to 600

It's useful on 300dpi devices to get this value above 330 to enlarge
entire UI.
pull/2390/head
Sergey Organov 8 years ago
parent 4ec7efb2d0
commit 48ff941764

@ -60,11 +60,11 @@ return {
hold_input = {
title = _("Input screen DPI"),
type = "number",
hint = "(90 - 330)",
hint = "(90 - 600)",
callback = function(input)
local _dpi = tonumber(input)
_dpi = _dpi < 90 and 90 or _dpi
_dpi = _dpi > 330 and 330 or _dpi
_dpi = _dpi > 600 and 600 or _dpi
G_reader_settings:saveSetting("custom_screen_dpi", _dpi)
setDPI(_dpi)
end,

Loading…
Cancel
Save