Commit 02610ea8 authored by wjf's avatar wjf

Merge branch '1018' into dev

parents 7def75b5 cf049842
import PropType from "../../PropType"; import PropType from "../../PropType";
import { Tool } from "../Tool";
/** /**
* 道具使用引导,初始化一次,然后用init初始化 * 道具使用引导,初始化一次,然后用init初始化
...@@ -86,11 +87,11 @@ export class PropGuide extends egret.DisplayObjectContainer { ...@@ -86,11 +87,11 @@ export class PropGuide extends egret.DisplayObjectContainer {
this.bg.graphics.lineTo(750, 1624); this.bg.graphics.lineTo(750, 1624);
this.bg.graphics.lineTo(0, 1624); this.bg.graphics.lineTo(0, 1624);
this.bg.graphics.lineTo(0, 0); this.bg.graphics.lineTo(0, 0);
this.bg.graphics.moveTo(15, 275); this.bg.graphics.moveTo(Tool.offsetX, Tool.offsetY);
this.bg.graphics.lineTo(15, 990); this.bg.graphics.lineTo(Tool.offsetX, Tool.offsetY + Tool.height * Tool.rowNum);
this.bg.graphics.lineTo(750 - 15, 990); this.bg.graphics.lineTo(750 - Tool.offsetX, Tool.offsetY + Tool.height * Tool.rowNum);
this.bg.graphics.lineTo(750 - 15, 275); this.bg.graphics.lineTo(750 - Tool.offsetX, Tool.offsetY);
this.bg.graphics.lineTo(15, 275); this.bg.graphics.lineTo(Tool.offsetX, Tool.offsetY);
this.bg.graphics.endFill(); this.bg.graphics.endFill();
} }
} }
\ No newline at end of file
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