mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[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:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user