Commit 3835356b authored by haiyoucuv's avatar haiyoucuv

1

parent 6b2bf658
...@@ -3,7 +3,11 @@ ...@@ -3,7 +3,11 @@
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="ca828aa9-7d32-43b5-949b-5692dab70d5f" name="Default Changelist" comment=""> <list default="true" id="ca828aa9-7d32-43b5-949b-5692dab70d5f" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/fyge.min.js" beforeDir="false" afterPath="$PROJECT_DIR$/build/fyge.min.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/debug/FYGE.js.map" beforeDir="false" afterPath="$PROJECT_DIR$/debug/FYGE.js.map" afterDir="false" />
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/2d/display/DisplayObject.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/2d/display/DisplayObject.ts" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/2d/display/DisplayObject.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/2d/display/DisplayObject.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/index.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/index.ts" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
...@@ -103,7 +107,7 @@ ...@@ -103,7 +107,7 @@
<workItem from="1591165756008" duration="509000" /> <workItem from="1591165756008" duration="509000" />
<workItem from="1591166636799" duration="1935000" /> <workItem from="1591166636799" duration="1935000" />
<workItem from="1591239594676" duration="141000" /> <workItem from="1591239594676" duration="141000" />
<workItem from="1591239837585" duration="946000" /> <workItem from="1591239837585" duration="1375000" />
</task> </task>
<servers /> <servers />
</component> </component>
...@@ -116,25 +120,25 @@ ...@@ -116,25 +120,25 @@
</option> </option>
</component> </component>
<component name="WindowStateProjectService"> <component name="WindowStateProjectService">
<state width="1878" height="330" key="GridCell.Tab.0.bottom" timestamp="1591240720077"> <state width="1878" height="330" key="GridCell.Tab.0.bottom" timestamp="1591241021547">
<screen x="1680" y="-199" width="1920" height="1177" /> <screen x="1680" y="-199" width="1920" height="1177" />
</state> </state>
<state width="1878" height="330" key="GridCell.Tab.0.bottom/37.23.1643.1027/1680.-199.1920.1177@1680.-199.1920.1177" timestamp="1591240720077" /> <state width="1878" height="330" key="GridCell.Tab.0.bottom/37.23.1643.1027/1680.-199.1920.1177@1680.-199.1920.1177" timestamp="1591241021547" />
<state width="1878" height="330" key="GridCell.Tab.0.center" timestamp="1591240720076"> <state width="1878" height="330" key="GridCell.Tab.0.center" timestamp="1591241021545">
<screen x="1680" y="-199" width="1920" height="1177" /> <screen x="1680" y="-199" width="1920" height="1177" />
</state> </state>
<state width="1878" height="330" key="GridCell.Tab.0.center/37.23.1643.1027/1680.-199.1920.1177@1680.-199.1920.1177" timestamp="1591240720076" /> <state width="1878" height="330" key="GridCell.Tab.0.center/37.23.1643.1027/1680.-199.1920.1177@1680.-199.1920.1177" timestamp="1591241021545" />
<state width="1878" height="330" key="GridCell.Tab.0.left" timestamp="1591240720075"> <state width="1878" height="330" key="GridCell.Tab.0.left" timestamp="1591241021545">
<screen x="1680" y="-199" width="1920" height="1177" /> <screen x="1680" y="-199" width="1920" height="1177" />
</state> </state>
<state width="1878" height="330" key="GridCell.Tab.0.left/37.23.1643.1027/1680.-199.1920.1177@1680.-199.1920.1177" timestamp="1591240720075" /> <state width="1878" height="330" key="GridCell.Tab.0.left/37.23.1643.1027/1680.-199.1920.1177@1680.-199.1920.1177" timestamp="1591241021545" />
<state width="1878" height="330" key="GridCell.Tab.0.right" timestamp="1591240720076"> <state width="1878" height="330" key="GridCell.Tab.0.right" timestamp="1591241021546">
<screen x="1680" y="-199" width="1920" height="1177" /> <screen x="1680" y="-199" width="1920" height="1177" />
</state> </state>
<state width="1878" height="330" key="GridCell.Tab.0.right/37.23.1643.1027/1680.-199.1920.1177@1680.-199.1920.1177" timestamp="1591240720076" /> <state width="1878" height="330" key="GridCell.Tab.0.right/37.23.1643.1027/1680.-199.1920.1177@1680.-199.1920.1177" timestamp="1591241021546" />
<state x="2305" y="66" width="670" height="676" key="search.everywhere.popup" timestamp="1591239621122"> <state x="2305" y="66" width="670" height="676" key="search.everywhere.popup" timestamp="1591241201422">
<screen x="1680" y="-199" width="1920" height="1177" /> <screen x="1680" y="-199" width="1920" height="1177" />
</state> </state>
<state x="2305" y="66" width="670" height="676" key="search.everywhere.popup/37.23.1643.1027/1680.-199.1920.1177@1680.-199.1920.1177" timestamp="1591239621122" /> <state x="2305" y="66" width="670" height="676" key="search.everywhere.popup/37.23.1643.1027/1680.-199.1920.1177@1680.-199.1920.1177" timestamp="1591241201422" />
</component> </component>
</project> </project>
\ No newline at end of file
This diff is collapsed.
...@@ -1396,7 +1396,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -1396,7 +1396,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
if (this.parent) { if (this.parent) {
this.parent.removeChild(this); this.parent.removeChild(this);
} }
_super.prototype.destroy.call(this);
this.transform.destroy(); this.transform.destroy();
this.transform = null; this.transform = null;
this._localBoundsSelf = null; this._localBoundsSelf = null;
......
This diff is collapsed.
This diff is collapsed.
...@@ -4,9 +4,7 @@ ...@@ -4,9 +4,7 @@
"description": "淘宝小程序canvas渲染引擎", "description": "淘宝小程序canvas渲染引擎",
"main": "./build/fyge.min.js", "main": "./build/fyge.min.js",
"types": "./build/FYGE.d.ts", "types": "./build/FYGE.d.ts",
"dependencies": { "dependencies": {},
"rollup-plugin-commonjs": "^10.1.0"
},
"scripts": { "scripts": {
"declare": "node scripts/declare.js src/index.ts", "declare": "node scripts/declare.js src/index.ts",
"build": "webpack", "build": "webpack",
......
...@@ -401,8 +401,6 @@ export class DisplayObject extends EventDispatcher { ...@@ -401,8 +401,6 @@ export class DisplayObject extends EventDispatcher {
if (this.parent) { if (this.parent) {
this.parent.removeChild(this); this.parent.removeChild(this);
} }
//在从父级移除自身后removeAllEventListener
super.destroy();
//矩阵销毁 //矩阵销毁
this.transform.destroy(); this.transform.destroy();
//对应属性都置null //对应属性都置null
......
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