Commit 17f98669 authored by Chen Jiping's avatar Chen Jiping

feat:移除关按钮

parent 6fc8a15b
This diff is collapsed.
...@@ -355,8 +355,8 @@ cc.Class({ ...@@ -355,8 +355,8 @@ cc.Class({
const bottomPart = cc.find('Canvas/bottomBtn') const bottomPart = cc.find('Canvas/bottomBtn')
bottomPart.scale = this._mapScaleMin; bottomPart.scale = this._mapScaleMin;
bottomPart.x = bottomPart.parent.width / 2; //bottomPart.x = bottomPart.parent.width / 2;
bottomPart.y = -bottomPart.parent.height / 2; //bottomPart.y = -bottomPart.parent.height / 2;
const lastBtn = bottomPart.getChildByName('btn_last'); const lastBtn = bottomPart.getChildByName('btn_last');
...@@ -364,8 +364,6 @@ cc.Class({ ...@@ -364,8 +364,6 @@ cc.Class({
const refreshBtn = bottomPart.getChildByName('btn_refresh'); const refreshBtn = bottomPart.getChildByName('btn_refresh');
const closeBtn = bottomPart.getChildByName('btn_close');
btnClickAnima(lastBtn) btnClickAnima(lastBtn)
lastBtn.on('click', () => { lastBtn.on('click', () => {
if (!this._cantouch) { if (!this._cantouch) {
...@@ -398,11 +396,6 @@ cc.Class({ ...@@ -398,11 +396,6 @@ cc.Class({
this.refreshBtnStatue(); this.refreshBtnStatue();
}) })
btnClickAnima(closeBtn)
closeBtn.on('click', () => {
})
this.refreshBtnStatue(); this.refreshBtnStatue();
}, },
......
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