[vlc-commits] [Git][videolan/vlc][master] 3 commits: macosx: Remove redundant call to update volume button image

Steve Lhomme (@robUx4) gitlab at videolan.org
Tue Jul 30 09:09:47 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
8e73e2f8 by Claudio Cambra at 2024-07-30T08:56:02+00:00
macosx: Remove redundant call to update volume button image

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
b5cf2dc2 by Claudio Cambra at 2024-07-30T08:56:02+00:00
macosx: Prevent mute button image from becoming oversized in main video view

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
21a2e224 by Claudio Cambra at 2024-07-30T08:56:02+00:00
macosx: Prevent mute button image from becoming oversized in detached audio window control bar

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -


3 changed files:

- modules/gui/macosx/UI/VLCDetachedAudioWindow.xib
- modules/gui/macosx/UI/VLCMainVideoView.xib
- modules/gui/macosx/windows/controlsbar/VLCControlsBarCommon.m


Changes:

=====================================
modules/gui/macosx/UI/VLCDetachedAudioWindow.xib
=====================================
@@ -139,7 +139,7 @@
                                                 <subviews>
                                                     <button wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tJC-hA-c4P" customClass="VLCImageButton">
                                                         <rect key="frame" x="0.0" y="-1" width="32" height="33"/>
-                                                        <buttonCell key="cell" type="recessed" bezelStyle="recessed" image="volume.3.fill" catalog="system" imagePosition="only" alignment="center" controlSize="large" borderStyle="border" imageScaling="proportionallyUpOrDown" inset="2" id="f8j-zW-474">
+                                                        <buttonCell key="cell" type="recessed" bezelStyle="recessed" image="volume.3.fill" catalog="system" imagePosition="only" alignment="center" controlSize="large" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="f8j-zW-474">
                                                             <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES" changeBackground="YES" changeGray="YES"/>
                                                             <font key="font" metaFont="system"/>
                                                         </buttonCell>


=====================================
modules/gui/macosx/UI/VLCMainVideoView.xib
=====================================
@@ -243,7 +243,7 @@
                                                 <subviews>
                                                     <button wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="afi-4d-rQk" customClass="VLCImageButton">
                                                         <rect key="frame" x="0.0" y="-1" width="32" height="33"/>
-                                                        <buttonCell key="cell" type="recessed" bezelStyle="recessed" image="volume.3.fill" catalog="system" imagePosition="only" alignment="center" controlSize="large" borderStyle="border" imageScaling="proportionallyUpOrDown" inset="2" id="POe-ne-XtP">
+                                                        <buttonCell key="cell" type="recessed" bezelStyle="recessed" image="volume.3.fill" catalog="system" imagePosition="only" alignment="center" controlSize="large" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="POe-ne-XtP">
                                                             <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES" changeBackground="YES" changeGray="YES"/>
                                                             <font key="font" metaFont="system"/>
                                                         </buttonCell>


=====================================
modules/gui/macosx/windows/controlsbar/VLCControlsBarCommon.m
=====================================
@@ -344,7 +344,6 @@
         [_playerController setVolume:[sender floatValue]];
     } else if (sender == self.muteVolumeButton) {
         [_playerController toggleMute];
-        [self updateMuteVolumeButtonImage];
     }
 }
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/67a2dd14bf77b2c7aac1ed4f39818c9081abae85...21a2e224fda2c53910451dfcf08a7d119421de0a

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/67a2dd14bf77b2c7aac1ed4f39818c9081abae85...21a2e224fda2c53910451dfcf08a7d119421de0a
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list