Commit 291f9295 authored by 谭真's avatar 谭真 Committed by GitHub

Merge pull request #484 from iOSleep/iOSleep-patch-1

修复设置Translucent导致原图按钮错位
parents 7a91429c 28c261b2
...@@ -191,7 +191,7 @@ static CGSize AssetGridThumbnailSize; ...@@ -191,7 +191,7 @@ static CGSize AssetGridThumbnailSize;
if (!tzImagePickerVc.showSelectBtn) return; if (!tzImagePickerVc.showSelectBtn) return;
CGFloat yOffset = 0; CGFloat yOffset = 0;
if (self.navigationController.navigationBar.isTranslucent) { if (!self.navigationController.navigationBar.isHidden) {
yOffset = self.view.tz_height - 50; yOffset = self.view.tz_height - 50;
} else { } else {
CGFloat navigationHeight = 44; CGFloat navigationHeight = 44;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment