SpinWidget: similar size in portrait and landscape (#8226)

This commit is contained in:
hius07
2021-09-25 11:40:04 +03:00
committed by GitHub
parent 456dfeaf8e
commit 1e47cd7e5f
22 changed files with 15 additions and 81 deletions

View File

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