refactor: code formatting fixes
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
This commit is contained in:
parent
f1e44c6acf
commit
420181d531
|
@ -11,7 +11,7 @@ function factory()
|
||||||
-- corresponding to a [selected] region
|
-- corresponding to a [selected] region
|
||||||
function find_track_for_region(region_id)
|
function find_track_for_region(region_id)
|
||||||
for route in Session:get_tracks():iter() do
|
for route in Session:get_tracks():iter() do
|
||||||
local track = route:to_track();
|
local track = route:to_track()
|
||||||
local pl = track:playlist()
|
local pl = track:playlist()
|
||||||
if not pl:region_by_id(region_id):isnil() then
|
if not pl:region_by_id(region_id):isnil() then
|
||||||
return track
|
return track
|
||||||
|
|
Loading…
Reference in New Issue