| 954 | } |
| 955 | |
| 956 | void OnTrackPanRight(const CommandContext &context) |
| 957 | { |
| 958 | auto &project = context.project; |
| 959 | auto &trackPanel = TrackPanel::Get( project ); |
| 960 | |
| 961 | const auto track = TrackFocus::Get( project ).Get(); |
| 962 | if (track) track->TypeSwitch( [&](WaveTrack &wt) { |
| 963 | LWSlider *slider = WaveTrackControls::PanSlider( trackPanel, wt ); |
| 964 | slider->Increase(1); |
| 965 | SetTrackPan(project, &wt, slider); |
| 966 | }); |
| 967 | } |
| 968 | |
| 969 | void OnTrackGain(const CommandContext &context) |
| 970 | { |
nothing calls this directly
no test coverage detected