Skip to content

Commit 8c35271

Browse files
committed
More theme colour updates
1 parent 8167b33 commit 8c35271

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Source/SpectrumCanvas.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -208,11 +208,11 @@ void CanvasPlot::resized()
208208

209209
void CanvasPlot::lookAndFeelChanged()
210210
{
211-
plt.setBackgroundColour(findColour(ThemeColours::componentParentBackground));
212-
plt.setGridColour(findColour(ThemeColours::defaultText));
213-
plt.setAxisColour(findColour(ThemeColours::defaultText));
211+
plt.setBackgroundColour(findColour(ThemeColours::componentBackground));
212+
plt.setGridColour(findColour(ThemeColours::controlPanelText).withAlpha(0.5f));
213+
plt.setAxisColour(findColour(ThemeColours::controlPanelText));
214214

215-
chanColors[0] = findColour(ThemeColours::controlPanelText).withAlpha(0.6f);
215+
chanColors[0] = findColour(ThemeColours::defaultText);
216216
plt.plot(xvalues, currPower[0], chanColors[0], 1.0f);
217217
}
218218

@@ -409,7 +409,7 @@ void CanvasPlot::drawSpectrogram(std::vector<float> chanData)
409409

410410
void CanvasPlot::paint(Graphics& g)
411411
{
412-
g.fillAll(findColour (ThemeColours::componentBackground));
412+
g.fillAll(findColour (ThemeColours::componentParentBackground));
413413

414414
if(displayType == POWER_SPECTRUM)
415415
{
@@ -460,7 +460,7 @@ void CanvasPlot::paint(Graphics& g)
460460
int ticklabelWidth = 60;
461461
int tickLabelHeight = 20;
462462

463-
g.setFont(FontOptions("Inter", "Regular", 14.0f));
463+
g.setFont(FontOptions("Inter", "Regular", 12.0f));
464464

465465
for (int k = 0; k <= 10; k++)
466466
{

0 commit comments

Comments
 (0)