mirror of
https://github.com/MrPatben8/konduktor.git
synced 2026-11-27 10:22:51 +01:00
Improved drag to import dialog
This commit is contained in:
1 parent
bf427a628e
commit
518542c7bb
15 files changed
+180
-35
No files matched your search
@@ -511,7 +511,10 @@ with tempfile.TemporaryDirectory() as d:
|
||||
_raises(lambda: adapter.set_cue_color(cue_track.id, 6, red), NotFound))
|
||||
|
||||
print("== beatgrid edits ==")
|
||||
grid_track = next((t for t in adapter.tracks if t.bpm), None)
|
||||
# Long enough for a marker at 60 s: a grid is stored per beat, only up to
|
||||
# the track's end, and the library's first BPM track became a 1 s Sampler
|
||||
# WAV ("House 1"), where a marker at 60 s simply vanished.
|
||||
grid_track = next((t for t in adapter.tracks if t.bpm and (t.length or 0) >= 90), None)
|
||||
if grid_track:
|
||||
check("a gridded track starts with at least one marker",
|
||||
len(adapter.track_cues(grid_track.id).grid_markers) >= 1)
|
||||
|
||||
Reference in new issue
Block a user