skill issue: dont hide draggables on every keydown

This commit is contained in:
RossAscends 2023-09-17 19:41:17 +09:00
parent 9f15e67856
commit 751c0723dc
1 changed files with 6 additions and 5 deletions

View File

@ -1122,13 +1122,14 @@ export function initRossMods() {
$("#rightNavDrawerIcon").trigger('click');
return
}
if ($(".draggable").is(":visible")) {
// Remove the first matched element
$('.draggable:first').remove();
return;
}
}
if ($(".draggable").is(":visible")) {
// Remove the first matched element
$('.draggable:first').remove();
return;
}
if (event.ctrlKey && /^[1-9]$/.test(event.key)) {