From c787d7146be43fa47a6e8ff929cb428180ddec59 Mon Sep 17 00:00:00 2001 From: gaoyu Date: Fri, 15 Sep 2017 17:09:28 +0800 Subject: [PATCH] fix bug for menuView --- LPAlbum/Controllers/LPAlbum.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LPAlbum/Controllers/LPAlbum.swift b/LPAlbum/Controllers/LPAlbum.swift index d06494a..e9ac3d2 100644 --- a/LPAlbum/Controllers/LPAlbum.swift +++ b/LPAlbum/Controllers/LPAlbum.swift @@ -151,7 +151,7 @@ extension LPAlbum { collectionView.register(AlbumCollectionCell.self, forCellWithReuseIdentifier: AlbumCollectionCell.description()) collectionView.register(TakeCameraCell.self, forCellWithReuseIdentifier: TakeCameraCell.description()) - menuView = DropMenuView(frame: view.bounds, albums: albumModels) + menuView = DropMenuView(frame: CGRect(x: 0, y: 64, width: .screenWidth, height: .screenHeight - 64), albums: albumModels) view.addSubview(menuView) }