update at 2026-03-03 22:07:05
This commit is contained in:
7
pxterm/fix_touch_pointer.cjs
Normal file
7
pxterm/fix_touch_pointer.cjs
Normal file
@@ -0,0 +1,7 @@
|
||||
const fs = require('fs');
|
||||
let code = fs.readFileSync('src/components/TerminalPanel.vue', 'utf8');
|
||||
|
||||
// The issue might be pointermove. If we are completely hands-off, we must also make sure pointermove is not stopping it.
|
||||
const regex = /onTouchKeyboardPointerMove = \(event: PointerEvent\) => \{[\s\S]*?touchGateScrollLike = true;\n\s*\}/;
|
||||
console.log(regex.test(code));
|
||||
|
||||
Reference in New Issue
Block a user