Highlight Navigation Relative to Session Box
I think I can use Reactions to do this, but is there not a simpler (more elegant) way to highlight eg the first track of the session box?
Barring that, how would I do this using reaction?
Basically
‘Listen’ to the select-relative-to-session button1
Highlight Track x, where x is track one IN the session box.
Thanks so much Joihn!!!
I wasn’t sure if ‘offset’ would work – because you can also set the ‘offset’ of the box, so I did need that bit of code.
I’m VERY stingy with Modifiers, because they’re so versatile, so I was loathe to use up 8 just for this. I skipped them and did it by adding reactions for the ‘select’ buttons where – when the button is pressed –
SelectSessionTrack1: self.set_highlighted_track(self.get_sessbox_track_offset())
SelectSessionTrack2: self.set_highlighted_track(self.get_sessbox_track_offset()+1)
etc.
It’s actually more elegant as it avoids tracking the session box (since the offset is a stable environment variable.)
Sign up
User registration is currently not allowed.