Consolidate play/pause icon logic into PlaybackIcons mapper and PlayStateIcon component
Add Disabled parameter to PlayStateIcon; forward to MudIconButton; pass Disabled="!IsLoaded" from PlayerControls to match Stop button parity.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
@namespace DeepDrftPublic.Client.Controls
|
||||
|
||||
<MudIconButton Icon="@Icon"
|
||||
Color="Color"
|
||||
Size="Size"
|
||||
Disabled="@Disabled"
|
||||
OnClick="@OnToggle"/>
|
||||
Reference in New Issue
Block a user