Commit 3fc326e4 authored by 邱旭's avatar 邱旭

换了点皮

parent 49ac6aeb
...@@ -13964,7 +13964,7 @@ var MapScene = (function (_super) { ...@@ -13964,7 +13964,7 @@ var MapScene = (function (_super) {
}; };
MapScene.prototype.initGuide = function () { MapScene.prototype.initGuide = function () {
var _this = this; var _this = this;
setTimeout(function () { return _this.scrollToCheck(1); }); setTimeout(function () { return _this.scrollPage.scrollTo(0, 0); });
var guide = this.addChild(new Container()); var guide = this.addChild(new Container());
var g = guide.addChild(new Graphics()); var g = guide.addChild(new Graphics());
g.beginFill(0, 0.6); g.beginFill(0, 0.6);
...@@ -13973,7 +13973,7 @@ var MapScene = (function (_super) { ...@@ -13973,7 +13973,7 @@ var MapScene = (function (_super) {
var guide_check = guide.addChild(new CheckBtn_1.default({ check: 1 })); var guide_check = guide.addChild(new CheckBtn_1.default({ check: 1 }));
guide_check.enabled = true; guide_check.enabled = true;
guide_check.type = CheckBtn_1.CHECK_TYPE.CUR; guide_check.type = CheckBtn_1.CHECK_TYPE.CUR;
var checkY = MapScene.checkArr[1].y - layers_1.layers.stageOffsetY / layers_1.layers.stageHeight * 310; var checkY = MapScene.checkArr[1].y;
guide_check.position.set(MapScene.checkArr[1].x, checkY); guide_check.position.set(MapScene.checkArr[1].x, checkY);
var guide_light = guide.addChild(Tools_1.Tools.getSprite('guide_light.png')); var guide_light = guide.addChild(Tools_1.Tools.getSprite('guide_light.png'));
guide_light.anchorTexture.set(0.5, 0.5); guide_light.anchorTexture.set(0.5, 0.5);
......
This diff is collapsed.
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