Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaoleTuia
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王剑峰
xiaoxiaoleTuia
Commits
eac2d9e6
Commit
eac2d9e6
authored
Jan 17, 2020
by
wjf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
l
parent
8e17097d
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
7 deletions
+5
-7
output.js
egret/bin-release/output.js
+0
-2
output_develop.js
egret/bin-release/output_develop.js
+0
-1
Element.ts
egret/src/something/class/Element.ts
+5
-4
No files found.
egret/bin-release/output.js
deleted
100644 → 0
View file @
8e17097d
This diff is collapsed.
Click to expand it.
egret/bin-release/output_develop.js
deleted
100644 → 0
View file @
8e17097d
This diff is collapsed.
Click to expand it.
egret/src/something/class/Element.ts
View file @
eac2d9e6
...
...
@@ -170,7 +170,7 @@ export class Element extends eui.Component {
* 替换资源时,同时修改
* @param source
*/
changeSource
(
source
:
string
)
{
private
changeSource
(
source
:
string
)
{
// this.showImage.source = source;
var
texture
:
egret
.
Texture
=
RES
.
getRes
(
source
);
this
.
showImage
.
texture
=
texture
...
...
@@ -274,8 +274,9 @@ export class Element extends eui.Component {
}
}
/**
* 去掉原先带的所有特效
*/
private
removeEffectHas
()
{
//回收掉原先有的
switch
(
this
.
_effectType
)
{
...
...
@@ -358,7 +359,7 @@ export class Element extends eui.Component {
this
.
states
[
state
]
=
stateEx
;
//视图添加
this
.
addChild
(
this
.
states
[
state
]);
//气泡定制逻辑
//气泡定制逻辑
,暂时没出现给特效元素设置气泡的操作,所以先不管,只对视图做简单处理
if
(
state
===
StateType
.
BUBBLE
)
this
.
showImage
.
alpha
=
0
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment