feat(embed): show skip-prev/next buttons in embed when queue exists
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
@using DeepDrftPublic.Client.Controls
|
@using DeepDrftPublic.Client.Controls
|
||||||
|
|
||||||
<MudStack Row="true" AlignItems="AlignItems.Center" Spacing="2">
|
<MudStack Row="true" AlignItems="AlignItems.Center" Spacing="2">
|
||||||
@if (!Fixed)
|
@if (!Fixed || HasPrevious || HasNext)
|
||||||
{
|
{
|
||||||
<MudIconButton Icon="@Icons.Material.Filled.SkipPrevious"
|
<MudIconButton Icon="@Icons.Material.Filled.SkipPrevious"
|
||||||
Color="Color.Primary"
|
Color="Color.Primary"
|
||||||
@@ -14,13 +14,16 @@
|
|||||||
Color="Color.Primary"
|
Color="Color.Primary"
|
||||||
Disabled="!CanPlay"
|
Disabled="!CanPlay"
|
||||||
OnToggle="@TogglePlayPause"/>
|
OnToggle="@TogglePlayPause"/>
|
||||||
@if (!Fixed)
|
@if (!Fixed || HasPrevious || HasNext)
|
||||||
{
|
{
|
||||||
<MudIconButton Icon="@Icons.Material.Filled.SkipNext"
|
<MudIconButton Icon="@Icons.Material.Filled.SkipNext"
|
||||||
Color="Color.Primary"
|
Color="Color.Primary"
|
||||||
Size="Size.Large"
|
Size="Size.Large"
|
||||||
OnClick="@SkipNext"
|
OnClick="@SkipNext"
|
||||||
Disabled="!HasNext"/>
|
Disabled="!HasNext"/>
|
||||||
|
}
|
||||||
|
@if (!Fixed)
|
||||||
|
{
|
||||||
<MudIconButton Icon="@Icons.Material.Filled.Stop"
|
<MudIconButton Icon="@Icons.Material.Filled.Stop"
|
||||||
Color="Color.Primary"
|
Color="Color.Primary"
|
||||||
Size="Size.Large"
|
Size="Size.Large"
|
||||||
|
|||||||
Reference in New Issue
Block a user