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

Method MoveToLocation

Source/LocationZoomer.cpp:90–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90void LocationZoomer::MoveToLocation(char key)
91{
92 if (mLocations.count(key) > 0)
93 {
94 mStart.mZoomLevel = gDrawScale;
95 mStart.mOffset = TheSynth->GetDrawOffset();
96 mDestination = mLocations[key];
97 mCurrentProgress = 0;
98 mSpeed = 2;
99 }
100}
101
102void LocationZoomer::GoHome()
103{

Callers 2

oscMessageReceivedMethod · 0.80
OnClickedMethod · 0.80

Calls 1

GetDrawOffsetMethod · 0.80

Tested by

no test coverage detected