You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit implements volume persistence for the Peek utility, so that
when users adjust the volume slider for audio/video files, the volume
level is remembered and applied to subsequent files.
Changes:
- Add MediaVolume property to PeekProperties (DoubleProperty, default 1.0)
- Add MediaVolume to IUserSettings interface with getter/setter
- Implement MediaVolume in UserSettings with save-to-settings logic
- Add MediaVolume binding from MainWindow to FilePreview to AudioControl
- Add VolumeChanged events in AudioControl and FilePreview
- Track user volume changes and bubble up to MainWindowViewModel
- Handle volume changes for both audio (AudioControl) and video (MediaPlayerElement)
Fixes#31810
0 commit comments