Skip to content
Snippets Groups Projects
Commit f026d5be authored by Claudio Cambra's avatar Claudio Cambra Committed by Jean-Baptiste Kempf
Browse files

macosx: Don't hide toolbar immediately on showing video, start timer instead


Signed-off-by: default avatarClaudio Cambra <developer@claudiocambra.com>
parent 7bca0424
No related branches found
No related tags found
No related merge requests found
......@@ -765,7 +765,7 @@ static void addShadow(NSImageView *__unsafe_unretained imageView)
_windowFrameBeforePlayback = [self frame];
}
- (void)startAutohideTimer
- (void)startToolbarAutohideTimer
{
/* Do nothing if timer is already in place */
if (_hideToolbarTimer.valid) {
......@@ -800,7 +800,7 @@ static void addShadow(NSImageView *__unsafe_unretained imageView)
[self stopAutohideTimer];
if (self.hasActiveVideo && !self.videoView.hidden) {
[self startAutohideTimer];
[self startToolbarAutohideTimer];
}
self.toolbar.visible = YES;
......@@ -881,7 +881,7 @@ static void addShadow(NSImageView *__unsafe_unretained imageView)
[_fspanel shouldBecomeActive:nil];
}
[self videoHideToolbar:self];
[self startToolbarAutohideTimer];
}
- (void)disableVideoPlaybackAppearance
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment