mirror of
https://github.com/yokemura/Magical8bitPlug2.git
synced 2025-07-17 11:04:16 -04:00
Added new parse warning message
This commit is contained in:
@ -153,6 +153,10 @@ void CustomEnvelopeComponent::textEditorTextChanged (TextEditor& editor)
|
||||
|
||||
ParseError err = kParseErrorNone;
|
||||
processor.settingRefs.setSequenceWithString (paramType, txt, &err);
|
||||
|
||||
ColorScheme cs = ColorScheme (processor.settingRefs.colorSchemeType());
|
||||
Colour c = (err < kParseErrorLevelFatal) ? cs.main : cs.warning;
|
||||
label->setColour (juce::Label::textColourId, c);
|
||||
|
||||
if (err == kParseErrorValueOutOfRange)
|
||||
{
|
||||
|
Reference in New Issue
Block a user