Browse Source

Update to Rack v1 API

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

+ 1
- 1
src/VCA.cpp View File

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


+ 0
- 1
src/plugin.hpp View File

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




using namespace rack; using namespace rack;


Loading…
Cancel
Save