mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Merge pull request #264 from dpavlin/gamma_speedup
showInfoMsgWithDelay would delay gamma change for 1s #165
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user