mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-11 18:25:55 +00:00
Music room visualizer
This commit is contained in:
parent
e8b884f54b
commit
67d7986330
5 changed files with 67 additions and 7 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue