Music room visualizer

This commit is contained in:
Maddo 2025-02-27 10:01:50 +01:00
commit 67d7986330
5 changed files with 67 additions and 7 deletions

View file

@ -18,7 +18,7 @@ public partial class MusicVisualizerCanvas : CanvasLayer
private void ResetLabel(string trackName, string authorName)
{
_nameLabel.Text = string.IsNullOrWhiteSpace(authorName) ? authorName : $"{trackName} ({authorName})";
_nameLabel.Text = string.IsNullOrWhiteSpace(authorName) ? trackName : $"{trackName} ({authorName})";
_nameLabel.SetAnchorsAndOffsetsPreset(Control.LayoutPreset.BottomRight, margin: 0);
_nameLabel.Modulate = Colors.White;
_nameLabel.Hide();