Commit 7e6f3f45 authored by Marvin Scholz's avatar Marvin Scholz

macosx: Save/share time remaining state in fullscreen controller

There was no identifier set for the time remaining label in the
fullscreen controller, this sets one to ensure the state is saved
correctly. Additionally this is the same identifier as the one in
the main window label, so make sure the state is shared between those.

Fix #19813

(cherry picked from commit ecca9675)
Signed-off-by: Marvin Scholz's avatarMarvin Scholz <epirat07@gmail.com>
parent 278e4607
...@@ -134,6 +134,12 @@ static NSString *kAssociatedFullscreenRect = @"VLCFullscreenAssociatedWindowRect ...@@ -134,6 +134,12 @@ static NSString *kAssociatedFullscreenRect = @"VLCFullscreenAssociatedWindowRect
[_volumeSlider setMaxValue:[[VLCCoreInteraction sharedInstance] maxVolume]]; [_volumeSlider setMaxValue:[[VLCCoreInteraction sharedInstance] maxVolume]];
[_volumeSlider setIntValue:AOUT_VOLUME_DEFAULT]; [_volumeSlider setIntValue:AOUT_VOLUME_DEFAULT];
[_volumeSlider setDefaultValue:AOUT_VOLUME_DEFAULT]; [_volumeSlider setDefaultValue:AOUT_VOLUME_DEFAULT];
/* Identifier to store the state of the remaining or total time label,
* this is the same identifier as used for the window playback cotrols
* so the state is shared between those.
*/
[_remainingOrTotalTime setRemainingIdentifier:@"DisplayTimeAsTimeRemaining"];
} }
#undef setupButton #undef setupButton
......
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