fix shortcut
This commit is contained in:
@@ -7,6 +7,7 @@ import { isSameSet } from "./utils";
|
|||||||
* @returns
|
* @returns
|
||||||
*/
|
*/
|
||||||
export const shortcutListener = (fn, target = document) => {
|
export const shortcutListener = (fn, target = document) => {
|
||||||
|
// todo: let done = false;
|
||||||
const allkeys = new Set();
|
const allkeys = new Set();
|
||||||
const curkeys = new Set();
|
const curkeys = new Set();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user