mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
switch from scaleByDPI() to scaleBySize()
This commit is contained in:
@@ -20,7 +20,7 @@ local PageCropDialog = VerticalGroup:new{
|
||||
cancel_text = "Cancel",
|
||||
ok_callback = function() end,
|
||||
cancel_callback = function() end,
|
||||
button_width = math.floor(Screen:scaleByDPI(70)),
|
||||
button_width = math.floor(Screen:scaleBySize(70)),
|
||||
}
|
||||
|
||||
function PageCropDialog:init()
|
||||
|
||||
Reference in New Issue
Block a user