mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
fix bug in crereader's font setting
only show message when there is a font change
This commit is contained in:
@@ -380,9 +380,9 @@ function CREReader:adjustCreReaderCommands()
|
||||
if item_no then
|
||||
cr.doc:setFontFace(face_list[item_no])
|
||||
self.font_face = face_list[item_no]
|
||||
InfoMessage:show("Redrawing with "..face_list[item_no], 0)
|
||||
end
|
||||
Screen:restoreFromSavedBB()
|
||||
InfoMessage:show("Redrawing with "..face_list[item_no], 0)
|
||||
cr:redrawCurrentPage()
|
||||
end
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user