WaveformSeeker Improvements
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user