| 91 | } |
| 92 | |
| 93 | void FloatSlider::SetModulator(IModulator* modulator) |
| 94 | { |
| 95 | if (modulator != mModulator) |
| 96 | { |
| 97 | IModulator* oldModulator = mModulator; |
| 98 | mModulator = modulator; |
| 99 | mLFOControl = nullptr; |
| 100 | if (oldModulator != nullptr) |
| 101 | oldModulator->OnRemovedFrom(this); |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | void FloatSlider::Poll() |
| 106 | { |
no test coverage detected