Skip to content

Commit

Permalink
fix bug for menuView
Browse files Browse the repository at this point in the history
  • Loading branch information
gaoyuexit committed Sep 15, 2017
1 parent 2667931 commit c787d71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LPAlbum/Controllers/LPAlbum.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit c787d71

Please sign in to comment.