This commit is contained in:
Royce551 2020-12-05 19:06:40 -06:00
parent 831cef10e3
commit 60139e2695
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@ namespace FRESHMusicPlayer.Pages
if (track.TrackTotal > 0) TrackBox.Text += "/" + track.TrackTotal;
InterfaceUtils.SetField(DiscBox, DiscNumberLabel, track.DiscNumber.ToString() == "0" ? null : track.TrackNumber.ToString());
if (track.DiscTotal > 0) DiscBox.Text += "/" + track.DiscTotal;
BitrateBox.Text = track.Bitrate + "kbps";
BitrateBox.Text = track.Bitrate + "kbps " + (track.SampleRate / 1000) + "kHz";
}
private void Player_SongChanged(object sender, EventArgs e) => PopulateFields();

View file

@ -20,7 +20,7 @@
<ContentPresenter HorizontalAlignment="Center"
VerticalAlignment="Center"
TextElement.FontWeight="Regular"
>
Margin="4,0" >
</ContentPresenter>
</Border>