Commit 2f231a4a authored by liujiangnan's avatar liujiangnan

feat

parent 3d6384d9
......@@ -396,8 +396,7 @@ cc.Class({
if(window.courseware && window.courseware.openOsmoFingerRead) {
this.isOpenedOsmoFingerRead = true;
window.courseware.openOsmoFingerRead({
"page_id": 27,
"book_id": "opw1"
"page": false,
})
}
var dragonDisplay = this.logoCat.getComponent(dragonBones.ArmatureDisplay);
......@@ -600,9 +599,7 @@ cc.Class({
// && this.gameMachineService.state.value['playing']['play'] == 'answer'
// if (st) {
// }
const resultObj = JSON.parse(result);
console.log('[Genise JS] '+ JSON.stringify(resultObj.finger_pos_in_page))
const p = resultObj.finger_pos_in_page;
const p = JSON.parse(result);
if (p.x == -1 || p.y == -1) {
this._lastFingerPosition.pos = null;
this._lastFingerPosition.dirty = 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