Commit 99555427 authored by jeff's avatar jeff

调整显示

parent c4f2b806
...@@ -225,7 +225,7 @@ cc.Class({ ...@@ -225,7 +225,7 @@ cc.Class({
leftMove() { leftMove() {
this.stopAudio() this.stopAudio()
this._cantouch = false; this._cantouch = false;
let width = cc.winSize.width let width = cc.winSize.width+64
this.picNode.x = 0 this.picNode.x = 0
this.picTempNode.x = width this.picTempNode.x = width
this.setContent(this.picTempNode, this.data[this.curPage]) this.setContent(this.picTempNode, this.data[this.curPage])
...@@ -248,7 +248,7 @@ cc.Class({ ...@@ -248,7 +248,7 @@ cc.Class({
rightMove() { rightMove() {
this.stopAudio() this.stopAudio()
this._cantouch = false; this._cantouch = false;
let width = cc.winSize.width let width = cc.winSize.width+64
this.picNode.x = 0 this.picNode.x = 0
this.picTempNode.x = -width this.picTempNode.x = -width
this.setContent(this.picTempNode, this.data[this.curPage]) this.setContent(this.picTempNode, this.data[this.curPage])
......
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