e3fe401abf
Add Disabled parameter to PlayStateIcon; forward to MudIconButton; pass Disabled="!IsLoaded" from PlayerControls to match Stop button parity.
16 lines
582 B
Plaintext
16 lines
582 B
Plaintext
@namespace DeepDrftPublic.Client.Controls.AudioPlayerBar
|
|
|
|
<MudStack Row="true" AlignItems="AlignItems.Center" Spacing="1" Class="@Class">
|
|
<PlayerControls IsLoaded="IsLoaded"
|
|
TogglePlayPause="TogglePlayPause"
|
|
Stop="Stop"/>
|
|
@if (IsLoading && !IsStreaming)
|
|
{
|
|
<MudProgressCircular Color="Color.Tertiary"
|
|
Size="Size.Small"
|
|
Max="1D"
|
|
Value="@LoadProgress"
|
|
Indeterminate="@(LoadProgress == 0)"/>
|
|
}
|
|
</MudStack>
|