34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
@namespace DeepDrftPublic.Client.Controls.AudioPlayerBar
|
|
@using DeepDrftPublic.Client.Controls
|
|
|
|
<MudStack Row="true" AlignItems="AlignItems.Center" Spacing="2">
|
|
@if (!Fixed || HasPrevious || HasNext)
|
|
{
|
|
<MudIconButton Icon="@Icons.Material.Filled.SkipPrevious"
|
|
Color="Color.Primary"
|
|
Size="Size.Large"
|
|
OnClick="@SkipPrevious"
|
|
Disabled="!HasPrevious"/>
|
|
}
|
|
<PlayStateIcon Size="Size.Large"
|
|
Color="Color.Primary"
|
|
Disabled="!CanPlay"
|
|
OnToggle="@TogglePlayPause"/>
|
|
@if (!Fixed)
|
|
{
|
|
<MudIconButton Icon="@Icons.Material.Filled.Stop"
|
|
Color="Color.Primary"
|
|
Size="Size.Large"
|
|
OnClick="@Stop"
|
|
Disabled="!IsLoaded"/>
|
|
}
|
|
@if (!Fixed || HasPrevious || HasNext)
|
|
{
|
|
<MudIconButton Icon="@Icons.Material.Filled.SkipNext"
|
|
Color="Color.Primary"
|
|
Size="Size.Large"
|
|
OnClick="@SkipNext"
|
|
Disabled="!HasNext"/>
|
|
}
|
|
</MudStack>
|