1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed colour in key-mapping editor comp.

This commit is contained in:
jules 2013-11-04 19:08:37 +00:00
parent fbc30c4a38
commit 164cad105a

View file

@ -232,7 +232,7 @@ public:
void paint (Graphics& g) override
{
g.setFont (getHeight() * 0.7f);
g.setColour (findColour (KeyMappingEditorComponent::textColourId));
g.setColour (owner.findColour (KeyMappingEditorComponent::textColourId));
g.drawFittedText (TRANS (owner.getCommandManager().getNameOfCommand (commandID)),
4, 0, jmax (40, getChildComponent (0)->getX() - 5), getHeight(),