Skip to content

Commit 9479445

Browse files
authored
Feature: Compact MediaTransportControls (#11893)
1 parent 79220aa commit 9479445

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Files.App/UserControls/FilePreviews/MediaPreview.xaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@
2424
Foreground="Transparent"
2525
Source="{x:Bind ViewModel.Source, Mode=OneWay}">
2626
<MediaPlayerElement.TransportControls>
27-
<MediaTransportControls IsPlaybackRateButtonVisible="False" IsZoomButtonVisible="False" />
27+
<MediaTransportControls
28+
IsCompact="True"
29+
IsPlaybackRateButtonVisible="False"
30+
IsZoomButtonVisible="False" />
2831
</MediaPlayerElement.TransportControls>
2932
</MediaPlayerElement>
3033
</Border>

0 commit comments

Comments
 (0)