Commit 29bb59ad authored by Felix Paul Kühne's avatar Felix Paul Kühne

movie view: improve control overlay behavior (closes #14809, #14817)

parent fbd205af
......@@ -318,7 +318,7 @@ typedef NS_ENUM(NSInteger, VLCPanType) {
width = 300.;
height = 320.;
} else {
width = 450.;
width = 420.;
height = 470.;
}
......@@ -503,6 +503,9 @@ typedef NS_ENUM(NSInteger, VLCPanType) {
if (!_videoFiltersHidden)
_videoFiltersHidden = YES;
if (_equalizerView.hidden == NO)
_equalizerView.hidden = YES;
if (!_playbackSpeedViewHidden)
_playbackSpeedViewHidden = YES;
......@@ -652,6 +655,9 @@ typedef NS_ENUM(NSInteger, VLCPanType) {
if (!_videoFiltersHidden)
_videoFiltersHidden = YES;
if (_equalizerView.hidden == NO)
_equalizerView.hidden = YES;
if (!_playbackSpeedViewHidden)
_playbackSpeedViewHidden = YES;
......@@ -921,6 +927,9 @@ currentMediaHasTrackToChooseFrom:(BOOL)currentMediaHasTrackToChooseFrom
[_trackSelectorTableView reloadData];
if (_equalizerView.hidden == NO)
_equalizerView.hidden = YES;
if (!_playbackSpeedViewHidden)
self.playbackSpeedView.hidden = _playbackSpeedViewHidden = YES;
......@@ -1050,6 +1059,8 @@ currentMediaHasTrackToChooseFrom:(BOOL)currentMediaHasTrackToChooseFrom
}
}
_trackSelectorContainer.hidden = YES;
self.videoFilterView.hidden = _videoFiltersHidden = YES;
_equalizerView.alpha = 1.;
_equalizerView.hidden = NO;
......@@ -1068,6 +1079,9 @@ currentMediaHasTrackToChooseFrom:(BOOL)currentMediaHasTrackToChooseFrom
_trackSelectorContainer.hidden = NO;
_trackSelectorContainer.alpha = 1.;
if (_equalizerView.hidden == NO)
_equalizerView.hidden = YES;
if (!_playbackSpeedViewHidden)
self.playbackSpeedView.hidden = _playbackSpeedViewHidden = YES;
......@@ -1429,6 +1443,9 @@ currentMediaHasTrackToChooseFrom:(BOOL)currentMediaHasTrackToChooseFrom
if (!_playbackSpeedViewHidden)
self.playbackSpeedView.hidden = _playbackSpeedViewHidden = YES;
if (_equalizerView.hidden == NO)
_equalizerView.hidden = YES;
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) {
if (!_controlsHidden) {
self.controllerPanel.hidden = _controlsHidden = YES;
......@@ -1505,6 +1522,9 @@ currentMediaHasTrackToChooseFrom:(BOOL)currentMediaHasTrackToChooseFrom
if (!_videoFiltersHidden)
self.videoFilterView.hidden = _videoFiltersHidden = YES;
if (_equalizerView.hidden == NO)
_equalizerView.hidden = YES;
self.playbackSpeedView.hidden = !_playbackSpeedViewHidden;
_playbackSpeedViewHidden = self.playbackSpeedView.hidden;
[self _resetIdleTimer];
......
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