Просмотр исходного кода

fix missing negation in fix for volume overlay
fixes #15963

Tobias Conradi 9 лет назад
Родитель
Сommit
741bbc5c91
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Sources/VLCMovieViewController.m

+ 1 - 1
Sources/VLCMovieViewController.m

@@ -546,7 +546,7 @@ typedef NS_ENUM(NSInteger, VLCPanType) {
     _controlsHidden = hidden;
     CGFloat alpha = _controlsHidden? 0.0f: 1.0f;
 
-    [self.controlPanelController beginAppearanceTransition:hidden animated:animated];
+    [self.controlPanelController beginAppearanceTransition:!hidden animated:animated];
 
     if (!_controlsHidden) {
         _controllerPanel.alpha = 0.0f;