[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
This commit is contained in:
Frans de Jonge
2017-09-28 16:25:00 +02:00
committed by GitHub
parent 8d765e7d0d
commit 35af912f77

View File

@@ -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),