fix(LevelMeterFab): replace MudFab with hand-rolled button+SVG so band color tinting is no longer overridden by MudBlazor internals

This commit is contained in:
daniel-c-harvey
2026-06-08 07:46:49 -04:00
parent 9169493d41
commit 7eae599490
4 changed files with 42 additions and 27 deletions
@@ -1,8 +1,7 @@
@namespace DeepDrftPublic.Client.Controls.AudioPlayerBar
<div class="lmf-root @_bandClass">
<MudFab Color="Color"
StartIcon="@Icons.Material.Filled.MusicNote"
Size="Size"
OnClick="OnClick"/>
</div>
<button class="lmf-fab-btn @_bandClass" type="button" @onclick="OnClick">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="lmf-icon" aria-hidden="true">
<path fill="currentColor" d="M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z"/>
</svg>
</button>