From 658a3ef8fc5aca8864325d0a95233e07ec5b7020 Mon Sep 17 00:00:00 2001 From: MarcBoule Date: Sat, 16 Mar 2024 08:28:20 -0400 Subject: [PATCH] MM add link faders hotkey in track/group menu --- src/MixMaster/MixerWidgets.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MixMaster/MixerWidgets.hpp b/src/MixMaster/MixerWidgets.hpp index 7c15cf3..e9cf180 100644 --- a/src/MixMaster/MixerWidgets.hpp +++ b/src/MixMaster/MixerWidgets.hpp @@ -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);} )); @@ -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);} ));