From d2b2d8b18f58ae2f3ffbd1f910051075ba41a375 Mon Sep 17 00:00:00 2001 From: Tigran Aivazian Date: Wed, 19 Sep 2012 12:26:32 +0100 Subject: [PATCH] Make the info messages about highlight short enough to be visible. Also, shorten the delay from 2s to 1s. --- unireader.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unireader.lua b/unireader.lua index 97e019a64..ff8581df9 100644 --- a/unireader.lua +++ b/unireader.lua @@ -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