MCPcopy Create free account
hub / github.com/DamRsn/NeuralNote / mouseExit

Method mouseExit

NeuralNote/Source/Components/Views/VisualizationPanel.cpp:142–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142void VisualizationPanel::mouseExit(const MouseEvent& event)
143{
144 Component::mouseExit(event);
145
146 if (mAudioGainSlider.isVisible()) {
147 if (!mAudioRegionBounds.contains(getMouseXYRelative()))
148 mAudioGainSlider.setVisible(false);
149 }
150
151 if (mMidiGainSlider.isVisible()) {
152 if (!mPianoRollBounds.contains(getMouseXYRelative()))
153 mMidiGainSlider.setVisible(false);
154 }
155}
156
157Viewport& VisualizationPanel::getAudioMidiViewport()
158{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected