fix filemanager not aware screen dimen when change from landscape to portrait

This commit is contained in:
chrox
2014-11-10 20:46:45 +08:00
parent befa3aa63c
commit 7b5358c481

View File

@@ -46,6 +46,7 @@ function FileManager:init()
path = self.root_path,
show_parent = self.show_parent,
show_hidden = show_hidden,
width = Screen:getWidth(),
height = Screen:getHeight() - self.banner:getSize().h,
is_popout = false,
is_borderless = true,