mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-01-19 12:49:25 +08:00
fix: 撤回上个fix
This commit is contained in:
parent
def189e5bc
commit
e33654dac3
@ -446,7 +446,7 @@ export function getVitualKeyOnce(
|
||||
const key = Keyboard.get('full')!;
|
||||
key.withAssist(assist);
|
||||
const id = mainUi.open('virtualKey', { keyboard: key });
|
||||
key.once('emit', (item, assist, index, ev) => {
|
||||
key.on('emit', (item, assist, index, ev) => {
|
||||
ev.preventDefault();
|
||||
if (emitAssist) {
|
||||
if (emittable.length === 0 || emittable.includes(item.key)) {
|
||||
|
Loading…
Reference in New Issue
Block a user