Browse Source

Invert external light of Scope.

tags/v2.0.1
Andrew Belt 3 years ago
parent
commit
39cf57dfc0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Scope.cpp

+ 1
- 1
src/Scope.cpp View File

@@ -94,7 +94,7 @@ struct Scope : Module {
lights[LISSAJOUS_LIGHT].setBrightness(lissajous);

bool external = params[EXTERNAL_PARAM].getValue() > 0.f;
lights[EXTERNAL_LIGHT].setBrightness(external);
lights[EXTERNAL_LIGHT].setBrightness(!external);

// Compute time
float deltaTime = std::pow(2.f, -params[TIME_PARAM].getValue()) / BUFFER_SIZE;


Loading…
Cancel
Save