Commit 9445fb50 authored by 邱旭's avatar 邱旭

1

parent 49451c64
...@@ -75,6 +75,8 @@ export default class ReverseMask extends eui.Component { ...@@ -75,6 +75,8 @@ export default class ReverseMask extends eui.Component {
this.setShape(rect); this.setShape(rect);
} }
////////////////////// Private Method //////////////////////
private setShape(rect?: { x, y, w, h }) { private setShape(rect?: { x, y, w, h }) {
this._shape = new egret.Sprite(); this._shape = new egret.Sprite();
this._shape.graphics.beginFill(0xffffff); this._shape.graphics.beginFill(0xffffff);
......
...@@ -4,7 +4,6 @@ import { NetManager } from "../../../libs/tw/manager/NetManager"; ...@@ -4,7 +4,6 @@ import { NetManager } from "../../../libs/tw/manager/NetManager";
import PanelCtrl from "../../../libs/new_wx/ctrls/panelCtrl"; import PanelCtrl from "../../../libs/new_wx/ctrls/panelCtrl";
import { GDispatcher } from "../../../libs/tc/util/GDispatcher"; import { GDispatcher } from "../../../libs/tc/util/GDispatcher";
import { getlogItem } from "../../Main"; import { getlogItem } from "../../Main";
import ReverseMask from "../../ReverseMask";
export default class TaskCenter extends Panel { export default class TaskCenter extends Panel {
public closeBtn: eui.Button; public closeBtn: eui.Button;
......
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