Commit 5e691335 authored by liujiangnan's avatar liujiangnan

debug

parent 3ce83ba0
......@@ -176,14 +176,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
if (p.x == -1 || p.y == -1) {
return;
}
cc.find(`middleLayer/debug`).x = 100;
cc.find(`middleLayer/debug`).getComponent(cc.Label).string = `debug: ${Math.floor(p.x * 100)/100} , ${Math.floor(p.y * 100)/100}`;
cc.find(`middleLayer/debug`).getComponent(cc.Label).fontSize = 100;
// if (checkInRegion(p)) {
// // 检测成功
// window["courseware"].closeOsmoFingerRead();
// resolve();
// }
if (checkInRegion(p)) {
// 检测成功
window["courseware"].closeOsmoFingerRead();
resolve();
}
};
window["courseware"].openOsmoFingerRead({
"page": false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment