Commit cb0b0fc8 authored by David's avatar David

macosx: Workaround graphical issues with fullscreen panel buttons

On macOS Mojave only, those buttons are wrongly rendered (they look
as they are disabled). If you touch those buttons, they look fine
again.
This is a quick workaround to fix the graphical appearance, but
the underlying issue is not clear yet.
parent 32797e29
......@@ -284,6 +284,17 @@ static NSString *kAssociatedFullscreenRect = @"VLCFullscreenAssociatedWindowRect
- (void)setSeekable:(BOOL)seekable
{
// Workaround graphical issues in Mojave.
// TODO: This needs a proper fix
[_forwardButton setEnabled:NO];
[_backwardButton setEnabled:NO];
[_nextButton setEnabled:NO];
[_nextButton setEnabled:YES];
[_previousButton setEnabled:NO];
[_previousButton setEnabled:YES];
[_fullscreenButton setEnabled:NO];
[_fullscreenButton setEnabled:YES];
[_timeSlider setEnabled:seekable];
[_forwardButton setEnabled:seekable];
[_backwardButton setEnabled:seekable];
......
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