mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Flush the time/battery info to the right for PDF
Do the same for PDF that I have done for DjVu, to be consistent.
This commit is contained in:
@@ -2122,8 +2122,10 @@ function UniReader:_drawReadingInfo()
|
||||
renderUtf8Text(fb.bb, 10, 15+6, face,
|
||||
"M: "..
|
||||
math.ceil( self.cache_current_memsize / 1024 ).."/"..math.ceil( self.cache_max_memsize / 1024 )..
|
||||
" "..math.ceil( self.doc:getCacheSize() / 1024 ).."/"..math.ceil( self.cache_document_size / 1024 ).."k "..os.date("%a %d %b %Y %T").." ["..BatteryLevel().."]",
|
||||
true)
|
||||
" "..math.ceil( self.doc:getCacheSize() / 1024 ).."/"..math.ceil( self.cache_document_size / 1024 ).."k", true)
|
||||
local txt = os.date("%a %d %b %Y %T").." ["..BatteryLevel().."]"
|
||||
local w = sizeUtf8Text(0, G_width, face, txt, true).x
|
||||
renderUtf8Text(fb.bb, width - w - 10, 15+6, face, txt, true)
|
||||
|
||||
-- display reading progress on bottom of page
|
||||
local ypos = height - 50
|
||||
|
||||
Reference in New Issue
Block a user