Merge pull request #361 from giorgio130/master

Fix DPI for nex Kobo Aura (phoenix).
This commit is contained in:
Qingping Hou
2013-11-17 15:32:30 -08:00

View File

@@ -110,7 +110,9 @@ function Screen:getHeight()
end
function Screen:getDPI()
if(self.device:getModel() == "KindlePaperWhite") or (self.device:getModel() == "Kobo_kraken") then
if(self.device:getModel() == "KindlePaperWhite")
or (self.device:getModel() == "Kobo_kraken")
or (self.device:getModel() == "Kobo_phoenix") then
return 212
elseif self.device:getModel() == "Kobo_dragon" then
return 265