Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Commit f45d7ea

Browse files
committed
Merge branch 'develop' into release/1.4.2
2 parents 5ff1e00 + 2a1e432 commit f45d7ea

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Pod/Classes/WPAssetViewController.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ - (void)viewDidLoad
3636
self.imageView.translatesAutoresizingMaskIntoConstraints = NO;
3737
[self.imageView.leftAnchor constraintEqualToAnchor:self.view.leftAnchor].active = YES;
3838
[self.imageView.widthAnchor constraintEqualToAnchor:self.view.widthAnchor].active = YES;
39-
[self.imageView.topAnchor constraintEqualToAnchor:self.topLayoutGuide.topAnchor].active = YES;
40-
[self.imageView.heightAnchor constraintEqualToAnchor:self.view.heightAnchor].active = YES;
39+
[self.imageView.topAnchor constraintEqualToAnchor:self.topLayoutGuide.bottomAnchor].active = YES;
40+
[self.imageView.bottomAnchor constraintEqualToAnchor:self.bottomLayoutGuide.topAnchor].active = YES;
4141

4242
[self.view addSubview:self.videoView];
4343
self.videoView.translatesAutoresizingMaskIntoConstraints = NO;
4444
[self.videoView.leftAnchor constraintEqualToAnchor:self.view.leftAnchor].active = YES;
4545
[self.videoView.widthAnchor constraintEqualToAnchor:self.view.widthAnchor].active = YES;
46-
[self.videoView.topAnchor constraintEqualToAnchor:self.topLayoutGuide.topAnchor].active = YES;
47-
[self.videoView.heightAnchor constraintEqualToAnchor:self.view.heightAnchor].active = YES;
46+
[self.videoView.topAnchor constraintEqualToAnchor:self.topLayoutGuide.bottomAnchor].active = YES;
47+
[self.videoView.bottomAnchor constraintEqualToAnchor:self.bottomLayoutGuide.topAnchor].active = YES;
4848
self.videoView.delegate = self;
4949

5050
[self.view addSubview:self.activityIndicatorView];

Pod/Classes/WPMediaCollectionViewCell.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ - (void)prepareForReuse
6767
- (void)layoutSubviews {
6868
[super layoutSubviews];
6969
self.gradientView.layer.sublayers.firstObject.frame = self.gradientView.bounds;
70+
self.selectionFrame.frame = self.backgroundView.frame;
7071
}
7172

7273
- (void)commonInit

0 commit comments

Comments
 (0)