Browse Source

Update to Rack v1 API

tags/v1.0.1
Andrew Belt 6 years ago
parent
commit
3814e31a83
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/Fundamental.hpp
  2. +1
    -1
      src/VCA.cpp

+ 1
- 1
src/Fundamental.hpp View File

@@ -1,5 +1,5 @@
#include "rack.hpp" #include "rack.hpp"
#include "componentlibrary.hpp"
#include "component.hpp"




using namespace rack; using namespace rack;


+ 1
- 1
src/VCA.cpp View File

@@ -144,7 +144,7 @@ struct VCA_1VUKnob : SliderKnob {
nvgFill(ctx.vg); nvgFill(ctx.vg);
} }
if (segAmplitude > 0.f) { if (segAmplitude > 0.f) {
nvgFillColor(ctx.vg, color::alpha(SCHEME_GREEN, segAmplitude));
nvgFillColor(ctx.vg, color::alpha(component::GREEN, segAmplitude));
nvgFill(ctx.vg); nvgFill(ctx.vg);
} }
} }


Loading…
Cancel
Save