Skip to content

Commit

Permalink
Fix clip view buttons in Live 12
Browse files Browse the repository at this point in the history
  • Loading branch information
kmontag committed May 11, 2024
1 parent 35ccf31 commit 8033617
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SYSTEM_MIDI_REMOTE_SCRIPTS_DIR := /Applications/Ableton\ Live\ 11\ Suite.app/Contents/App-Resources/MIDI\ Remote\ Scripts
SYSTEM_MIDI_REMOTE_SCRIPTS_DIR := /Applications/Ableton\ Live\ 12\ Suite.app/Contents/App-Resources/MIDI\ Remote\ Scripts

.PHONY: deps
deps: __ext__/System_MIDIRemoteScripts/.make.decompile .make.pip-install
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ example:
- device identification, so the session ring ("red box") is only
visible when the nanoKONTROL2 is actually connected.

This script supports Live 11. Earlier versions of Live are not supported.
This script supports Live 11 and 12. Earlier versions of Live are not supported.

### Usage

Expand Down
5 changes: 4 additions & 1 deletion channel_strip.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ def __init__(self, *a, **k):

@clip_view_button.pressed
def clip_view_button(self, _): # type: ignore
self._select_track()
assert self.song
if liveobj_changed(self.song.view.selected_track, self._track):
self.song.view.selected_track = self._track

self._show_clip_view()
self._select_first_device()

Expand Down

0 comments on commit 8033617

Please sign in to comment.