Merge pull request #732 from WS64/master

Update TOC settings after some screen mode/hyphenation changes
This commit is contained in:
Huang Xin
2014-07-16 21:14:03 +08:00
4 changed files with 9 additions and 6 deletions

View File

@@ -70,8 +70,12 @@ function Screen:init()
function self:offsetX()
if Screen.cur_rotation_mode == 0 then
return 6
else
elseif Screen.cur_rotation_mode == 1 then
return 12
elseif Screen.cur_rotation_mode == 2 then
return 12
elseif Screen.cur_rotation_mode == 3 then
return 6
end
end
function self:offsetY()