mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-04-20 08:58:41 +00:00
修复游戏接受不到键盘事件的bug
This commit is contained in:
parent
039fc604f5
commit
930397f467
@ -236,8 +236,6 @@ export default defineComponent({
|
|||||||
const picking = ref(false);
|
const picking = ref(false);
|
||||||
|
|
||||||
const pickShortFunc = (e: KeyboardEvent) => {
|
const pickShortFunc = (e: KeyboardEvent) => {
|
||||||
e.preventDefault();
|
|
||||||
e.stopPropagation();
|
|
||||||
if (e.key === PickShortKey && picking.value === false) {
|
if (e.key === PickShortKey && picking.value === false) {
|
||||||
doInspector();
|
doInspector();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user