MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / PostRepatch

Method PostRepatch

Source/ModulatorSmoother.cpp:71–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71void ModulatorSmoother::PostRepatch(PatchCableSource* cableSource, bool fromUserClick)
72{
73 OnModulatorRepatch();
74
75 if (GetSliderTarget() && fromUserClick)
76 {
77 mInput = GetSliderTarget()->GetValue();
78 mInputSlider->SetExtents(GetSliderTarget()->GetMin(), GetSliderTarget()->GetMax());
79 mInputSlider->SetMode(GetSliderTarget()->GetMode());
80 }
81}
82
83void ModulatorSmoother::OnTransportAdvanced(float amount)
84{

Callers

nothing calls this directly

Calls 6

GetModeMethod · 0.80
GetValueMethod · 0.45
SetExtentsMethod · 0.45
GetMinMethod · 0.45
GetMaxMethod · 0.45
SetModeMethod · 0.45

Tested by

no test coverage detected