Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
renderingEngine
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
王剑峰
renderingEngine
Commits
e9c9c132
Commit
e9c9c132
authored
Dec 02, 2019
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复布局问题
parent
f053e91f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
Image.ts
src/zeroing/game-warpper/nodes/Image.ts
+2
-2
Label.ts
src/zeroing/game-warpper/nodes/Label.ts
+0
-2
No files found.
src/zeroing/game-warpper/nodes/Image.ts
View file @
e9c9c132
...
@@ -47,6 +47,8 @@ export class Image extends Sprite {
...
@@ -47,6 +47,8 @@ export class Image extends Sprite {
private
_setSourceDirect
(
value
){
private
_setSourceDirect
(
value
){
this
.
_source
=
value
;
this
.
_source
=
value
;
this
.
updateSource
();
this
.
updateSource
();
this
.
dispatchEvent
(
Event
.
RESIZE
);
}
}
private
_setSource
(
value
){
private
_setSource
(
value
){
...
@@ -69,8 +71,6 @@ export class Image extends Sprite {
...
@@ -69,8 +71,6 @@ export class Image extends Sprite {
}
else
{
}
else
{
this
.
_setSourceDirect
(
value
);
this
.
_setSourceDirect
(
value
);
}
}
this
.
dispatchEvent
(
Event
.
RESIZE
);
}
}
}
}
...
...
src/zeroing/game-warpper/nodes/Label.ts
View file @
e9c9c132
...
@@ -39,8 +39,6 @@ export class Label extends TextField {
...
@@ -39,8 +39,6 @@ export class Label extends TextField {
}
else
{
}
else
{
super
.
_setText
(
value
);
super
.
_setText
(
value
);
}
}
this
.
dispatchEvent
(
Event
.
RESIZE
);
}
}
}
}
...
...
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