Skip to content

Commit 4bcc891

Browse files
committed
Fix compilation problem, fix numbox~ icon problem
1 parent c937d1b commit 4bcc891

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

Source/Objects/NumboxTildeObject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ class NumboxTildeObject final : public ObjectBase
257257

258258
auto icon = mode ? Icons::ThinDown : Icons::Sine;
259259
auto iconBounds = Rectangle<int>(7, 3, getHeight(), getHeight());
260-
nvgFontFace(nvg, "plugdata_icon_font");
260+
nvgFontFace(nvg, "icon_font-Regular");
261261
nvgFontSize(nvg, 12.0f);
262262
nvgFillColor(nvg, convertColour(cnv->editor->getLookAndFeel().findColour(PlugDataColour::dataColourId)));
263263
nvgTextAlign(nvg, NVG_ALIGN_TOP | NVG_ALIGN_LEFT);

Source/PluginProcessor.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
#include <juce_audio_devices/juce_audio_devices.h>
1010
#include <juce_dsp/juce_dsp.h>
1111

12+
#if PERFETTO
1213
#include <melatonin_perfetto/melatonin_perfetto.h>
14+
#endif
1315

1416
#include "Utility/Config.h"
1517
#include "Utility/Limiter.h"

Source/Utility/NanoVGGraphicsContext.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44

55
#include "NanoVGGraphicsContext.h"
66
#include <BinaryData.h>
7+
8+
#if PERFETTO
79
#include <melatonin_perfetto/melatonin_perfetto.h>
10+
#endif
811

912
static int const maxImageCacheSize = 256;
1013

0 commit comments

Comments
 (0)