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

juce_audio_processors_headless: Remove juce_graphics dependency

This commit is contained in:
reuk 2025-08-21 22:10:19 +01:00
parent 86123aeddf
commit 50b51f512a
No known key found for this signature in database
12 changed files with 170 additions and 136 deletions

View file

@ -468,10 +468,10 @@ private:
void updateTrackProperties()
{
auto trackColour = getProcessor().getTrackProperties().colour;
auto trackColour = getProcessor().getTrackProperties().colourARGB;
auto& lf = getLookAndFeel();
backgroundColour = (trackColour.has_value() ? trackColour->withAlpha (1.0f).withBrightness (0.266f)
backgroundColour = (trackColour.has_value() ? Colour { *trackColour }.withAlpha (1.0f).withBrightness (0.266f)
: lf.findColour (ResizableWindow::backgroundColourId));
repaint();
}