mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[UX] Thicker loading bar (#5581)
The current thickness for the loading bar when opening a document is to thin to really see on my KT4,
This commit is contained in:
committed by
Frans de Jonge
parent
83b7d8de2b
commit
816b197ab9
@@ -6,6 +6,7 @@ local InputContainer = require("ui/widget/container/inputcontainer")
|
||||
local MultiConfirmBox = require("ui/widget/multiconfirmbox")
|
||||
local ProgressWidget = require("ui/widget/progresswidget")
|
||||
local ReaderPanning = require("apps/reader/modules/readerpanning")
|
||||
local Size = require("ui/size")
|
||||
local TimeVal = require("ui/timeval")
|
||||
local UIManager = require("ui/uimanager")
|
||||
local bit = require("bit")
|
||||
@@ -1028,9 +1029,9 @@ function ReaderRolling:showEngineProgress(percent)
|
||||
-- Widget size and position: best to anchor it at top left,
|
||||
-- so it does not override the footer or a bookmark dogear
|
||||
local x = 0
|
||||
local y = 0
|
||||
local y = Size.margin.small
|
||||
local w = Screen:getWidth() / 3
|
||||
local h = Screen:scaleBySize(5)
|
||||
local h = Size.line.progress
|
||||
if self.engine_progress_widget then
|
||||
self.engine_progress_widget:setPercentage(percent)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user