Make the info messages about highlight short enough to be visible.

Also, shorten the delay from 2s to 1s.
This commit is contained in:
Tigran Aivazian
2012-09-19 12:26:32 +01:00
parent c57c319656
commit d2b2d8b18f

View File

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