Skip to content

Commit

Permalink
MM add link faders hotkey in track/group menu
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcBoule committed Mar 16, 2024
1 parent 2de1774 commit 658a3ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MixMaster/MixerWidgets.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ struct TrackDisplay : EditableDisplayBase {
fadeProfSlider->box.size.x = 200.0f;
menu->addChild(fadeProfSlider);

menu->addChild(createCheckMenuItem("Link fader and fade", "",
menu->addChild(createCheckMenuItem("Link fader & fade (ctrl/cmd+click)", "",
[=]() {return isLinked(&(srcTrack->gInfo->linkBitMask), trackNumSrc);},
[=]() {toggleLinked(&(srcTrack->gInfo->linkBitMask), trackNumSrc);}
));
Expand Down Expand Up @@ -864,7 +864,7 @@ struct GroupDisplay : EditableDisplayBase {
menu->addChild(fadeProfSlider);

int groupNumForLink = numTracks + srcGroup->groupNum;
menu->addChild(createCheckMenuItem("Link fader and fade", "",
menu->addChild(createCheckMenuItem("Link fader & fade (ctrl/cmd+click)", "",
[=]() {return isLinked(&(srcGroup->gInfo->linkBitMask), groupNumForLink);},
[=]() {toggleLinked(&(srcGroup->gInfo->linkBitMask), groupNumForLink);}
));
Expand Down

0 comments on commit 658a3ef

Please sign in to comment.