fix previous commit for ipad too

This commit is contained in:
Gautier Pelloux-Prayer 2016-02-10 15:20:52 +01:00
parent 5d11f24f6c
commit f21a68e2bc

View file

@ -575,7 +575,7 @@
statusBarFrame.origin.y = origin - statusBarFrame.size.height;
}
// 2. side menu - fixed size, always starting below status bar (hack: except in fullscreen)
// 2. side menu - fixed size, always starting below status bar (hack: gexcept in fullscreen)
CGRect sideMenuFrame = viewFrame;
sideMenuFrame.origin.y = origin + (fullscreen ? statusBarFrame.size.height : 0);
sideMenuFrame.size.height -= sideMenuFrame.origin.y;