Browse Source

Draw the envelope name

tags/1.1.0
xenakios 7 years ago
parent
commit
e7011d4acb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Source/envelope_component.cpp

+ 1
- 1
Source/envelope_component.cpp View File

@@ -88,7 +88,7 @@ void EnvelopeComponent::paint(Graphics& g)
int xcor = getWidth() / 10 * i;
g.drawText(String(hz, 1), xcor, getHeight() - 20, 100, 20, Justification::topLeft);
}
String name = m_name;
String name = m_envelope->GetName();
if (name.isEmpty() == true)
name = "Untitled envelope";
g.drawText(name, 10, 10, getWidth(), getHeight(), Justification::topLeft);


Loading…
Cancel
Save