changed the display style of the selected beat
This commit is contained in:
14
main.py
14
main.py
@ -271,24 +271,22 @@ class GuiMain:
|
||||
if self.athmos.show_list:
|
||||
self.athmos.index -= 1
|
||||
self.athmos.index %= self.athmos.get_count()
|
||||
elif self.beatplayer.show_selection:
|
||||
else:
|
||||
self.beatplayer.clip_selection.index -= 1
|
||||
self.beatplayer.clip_selection.index %= self.beatplayer.clip_selection.get_count()
|
||||
if event.key == pygame.K_DOWN:
|
||||
if self.athmos.show_list:
|
||||
self.athmos.index += 1
|
||||
self.athmos.index %= self.athmos.get_count()
|
||||
elif self.beatplayer.show_selection:
|
||||
else:
|
||||
self.beatplayer.clip_selection.index += 1
|
||||
self.beatplayer.clip_selection.index %= self.beatplayer.clip_selection.get_count()
|
||||
if event.key == pygame.K_RIGHT:
|
||||
if self.beatplayer.show_selection:
|
||||
self.beatplayer.track_selection.index += 1
|
||||
self.beatplayer.track_selection.index %= self.beatplayer.track_selection.get_count()
|
||||
self.beatplayer.track_selection.index += 1
|
||||
self.beatplayer.track_selection.index %= self.beatplayer.track_selection.get_count()
|
||||
if event.key == pygame.K_LEFT:
|
||||
if self.beatplayer.show_selection:
|
||||
self.beatplayer.track_selection.index -= 1
|
||||
self.beatplayer.track_selection.index %= self.beatplayer.track_selection.get_count()
|
||||
self.beatplayer.track_selection.index -= 1
|
||||
self.beatplayer.track_selection.index %= self.beatplayer.track_selection.get_count()
|
||||
elif event.type == pygame.QUIT:
|
||||
self.running = False
|
||||
elif event.type == pygame.MOUSEBUTTONDOWN:
|
||||
|
||||
Reference in New Issue
Block a user