| 847 | } |
| 848 | |
| 849 | void FireAudioProcessorEditor::handleAsyncUpdate() |
| 850 | { |
| 851 | // This function is now the single entry point after a successful assignment. |
| 852 | |
| 853 | // 1. First, formally exit the assignment mode and clean up all related states. |
| 854 | exitAssignMode(); |
| 855 | |
| 856 | // 2. Then, repaint all panels. |
| 857 | // Since the modulation relationship has now been established in the Processor, |
| 858 | // updateSliderState in timerCallback will get the latest state and display it correctly. |
| 859 | bandPanel.repaint(); |
| 860 | globalPanel.repaint(); |
| 861 | |
| 862 | // 3. Finally, repaint the entire editor to ensure all UI elements are synchronized. |
| 863 | repaint(); |
| 864 | } |
| 865 | |
| 866 | void FireAudioProcessorEditor::exitAssignMode() |
| 867 | { |
nothing calls this directly
no outgoing calls
no test coverage detected