Merge pull request #264 from dpavlin/gamma_speedup

showInfoMsgWithDelay would delay gamma change for 1s #165
This commit is contained in:
{Qingping,Dave} Hou
2012-09-09 12:39:39 -07:00

View File

@@ -1569,7 +1569,7 @@ end
function UniReader:modifyGamma(factor)
Debug("modifyGamma, gamma=", self.globalgamma, " factor=", factor)
self.globalgamma = self.globalgamma * factor;
showInfoMsgWithDelay("New gamma = "..self.globalgamma, 1000, 1)
InfoMessage:show("New gamma = "..self.globalgamma, 1) -- we don't want delay here
self:redrawCurrentPage()
end