Commit 2f231a4a authored by liujiangnan's avatar liujiangnan

feat

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