mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Make the info messages about highlight short enough to be visible.
Also, shorten the delay from 2s to 1s.
This commit is contained in:
@@ -386,7 +386,7 @@ end
|
||||
function UniReader:startHighLightMode()
|
||||
local t = self:getText(self.pageno)
|
||||
if not t or #t == 0 then
|
||||
showInfoMsgWithDelay("No text available for highlight", 2000, 1);
|
||||
showInfoMsgWithDelay("No text available", 1000, 1);
|
||||
return nil
|
||||
end
|
||||
|
||||
@@ -397,7 +397,7 @@ function UniReader:startHighLightMode()
|
||||
end
|
||||
end
|
||||
|
||||
showInfoMsgWithDelay("No visible text for highlight", 2000, 1);
|
||||
showInfoMsgWithDelay("No visible text", 1000, 1);
|
||||
Debug("_findFirstWordInView none found in", t)
|
||||
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user