[UX] Smaller borders (#3266)

For years they've been smaller on higher DPI devices and likely very few people realized it was technically a bug. These values round up on lower DPI and smaller screen devices.

References https://github.com/koreader/koreader/issues/3265
pull/3271/head
Frans de Jonge 7 years ago committed by GitHub
parent 8d765e7d0d
commit 35af912f77

@ -30,10 +30,10 @@ local Screen = require("device").screen
local Size = {
border = {
default = Screen:scaleBySize(2),
thin = Screen:scaleBySize(1),
button = Screen:scaleBySize(2),
window = Screen:scaleBySize(2),
default = Screen:scaleBySize(1),
thin = Screen:scaleBySize(0.5),
button = Screen:scaleBySize(1.5),
window = Screen:scaleBySize(1.5),
},
margin = {
default = Screen:scaleBySize(5),

Loading…
Cancel
Save