fixed cover-grid selection and queuing behavior, added "clear queue" button
This commit is contained in:
@@ -294,6 +294,15 @@ func (q *Queue) registerEventHandlers() {
|
||||
q.handleMoveQueueTracks(data...)
|
||||
},
|
||||
)
|
||||
|
||||
runtime.EventsOn(
|
||||
q.ctx,
|
||||
events.RequestClearQueue,
|
||||
func(_ ...any) {
|
||||
q.logger.Info("Received RequestClearQueue")
|
||||
q.Clear()
|
||||
},
|
||||
)
|
||||
}
|
||||
|
||||
// handleSetQueue processes the RequestSetQueue event payload.
|
||||
|
||||
Reference in New Issue
Block a user