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

Method ResetAppearPos

Source/QuickSpawnMenu.cpp:105–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105void QuickSpawnMenu::ResetAppearPos()
106{
107 mAppearAtMousePos.set(TheSynth->GetMouseX(GetOwningContainer()), TheSynth->GetMouseY(GetOwningContainer()));
108 mScrollOffset = 0;
109}
110
111void QuickSpawnMenu::KeyPressed(int key, bool isRepeat)
112{

Callers

nothing calls this directly

Calls 3

setMethod · 0.45
GetMouseXMethod · 0.45
GetMouseYMethod · 0.45

Tested by

no test coverage detected