Few tiny cleanups
[SugarCubes.git] / DanKaminsky.pde
index c94b57396b07ccb4ba542248b3af31537f82b5d3..c4ca005970aa093a6762faca7a6568d6d98ab1e0 100644 (file)
@@ -7,11 +7,11 @@ class GenericController {
         if(p!=null) { p.setValue(val); }
       }
       if(type==1) {
-        p = glucose.getSelectedTransition().getParameters().get(num);
+        p = lx.engine.getDeck(RIGHT_DECK).getFaderTransition().getParameters().get(num);
         if(p!=null) { p.setValue(val); }
       }
       if(type==2) {
-        p = glucose.getSelectedEffect().getParameters().get(num);
+        p = getSelectedEffect().getParameters().get(num);
         if(p!=null) { p.setValue(val); }
       }
     }