WaveformSeeker Improvements

This commit is contained in:
daniel-c-harvey
2026-06-06 09:52:31 -04:00
parent ab9db6d0ec
commit b746645f97
4 changed files with 20 additions and 20 deletions
@@ -48,6 +48,7 @@ public partial class WaveformSeeker : ComponentBase, IAsyncDisposable
private bool _showHover;
private double _hoverFraction;
private double _hoverTime;
private string HoverPercent => $"{_hoverFraction * 100.0}%";
private double? Duration => PlayerService?.Duration;
private bool CanSeek => (PlayerService?.IsLoaded ?? false) && Duration is > 0;