mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
SpinWidget: similar size in portrait and landscape (#8226)
This commit is contained in:
@@ -665,7 +665,6 @@ end
|
||||
function ReaderZooming:_zoomFactorChange(title_text, direction, precision)
|
||||
local zoom_factor, overlap = self:getNumberOf(direction)
|
||||
UIManager:show(SpinWidget:new{
|
||||
width = math.floor(Screen:getWidth() * 0.6),
|
||||
value = zoom_factor,
|
||||
value_min = 0.1,
|
||||
value_max = 10,
|
||||
@@ -683,7 +682,6 @@ end
|
||||
|
||||
function ReaderZooming:_zoomPanChange(text, setting)
|
||||
UIManager:show(SpinWidget:new{
|
||||
width = math.floor(Screen:getWidth() * 0.6),
|
||||
value = self[setting],
|
||||
value_min = 0,
|
||||
value_max = 90,
|
||||
|
||||
Reference in New Issue
Block a user