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

Method Hide

Source/QuickSpawnMenu.cpp:188–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188void QuickSpawnMenu::Hide()
189{
190 SetShowing(false);
191 if (mFilterForCable != nullptr)
192 {
193 if (mMainContainerFollower->mTempConnectionCable->IsShowing())
194 mFilterForCable->SetTempDrawTarget(nullptr);
195 else
196 mFilterForCable->GetOwner()->SetPatchCableTarget(mFilterForCable, nullptr, true);
197 }
198 mFilterForCable = nullptr;
199 mMainContainerFollower->mTempConnectionCable->SetShowing(false);
200}
201
202void QuickSpawnMenu::UpdateDisplay()
203{

Callers 2

MousePressedMethod · 0.80
ToggleQuickSpawnMethod · 0.80

Calls 5

IsShowingMethod · 0.80
SetTempDrawTargetMethod · 0.80
SetPatchCableTargetMethod · 0.80
GetOwnerMethod · 0.45
SetShowingMethod · 0.45

Tested by

no test coverage detected