Skip to content

Commit

Permalink
Ensure track 1 is selected before running
Browse files Browse the repository at this point in the history
  • Loading branch information
chmaha committed Feb 13, 2025
1 parent 6487352 commit 87ab0b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ReaClassical/ReaClassical_Classical Crossfade.lua
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ end

function is_cursor_between_items()
local track = GetTrack(0, 0)
if not track then return false end
if not track or IsTrackSelected(track) == false then return false end

local item_count = CountTrackMediaItems(track)
if item_count < 2 then return false end
Expand Down

0 comments on commit 87ab0b3

Please sign in to comment.