Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Assets/Script/Menu/MusicLibrary/MusicLibraryMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using System.Threading.Tasks;
using TMPro;
using UnityEngine;
using UnityEngine.InputSystem;
using YARG.Core;
using YARG.Core.Audio;
using YARG.Core.Game;
Expand Down Expand Up @@ -740,6 +741,11 @@ private void EnterPlaylistSelectFromLibrary()

protected void Update()
{
if (Keyboard.current.ctrlKey.isPressed && Keyboard.current.kKey.wasPressedThisFrame)
{
CurrentSelection?.SecondaryTextClick();
}

foreach (var heldInput in _heldInputs)
heldInput.Timer -= Time.unscaledDeltaTime;

Expand Down
5 changes: 5 additions & 0 deletions Assets/Script/Menu/MusicLibrary/SongSearchingField.cs
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,11 @@ public void ClearFilterQueries()

private void Update()
{
if (Keyboard.current.ctrlKey.isPressed && Keyboard.current.lKey.wasPressedThisFrame)
{
Focus();
}

if (Keyboard.current.escapeKey.wasPressedThisFrame)
{
ClearFilterQueries();
Expand Down