Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
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
wildfirecode13
xiaoxiaole
Commits
e1f049c7
Commit
e1f049c7
authored
Sep 05, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
3e0213cd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
sceneCtrl.ts
egret/libs/new_wx/ctrls/sceneCtrl.ts
+2
-1
Loading2.ts
egret/src/something/uis/Loading2.ts
+2
-2
No files found.
egret/libs/new_wx/ctrls/sceneCtrl.ts
View file @
e1f049c7
...
@@ -23,6 +23,7 @@ export default class SceneCtrl {
...
@@ -23,6 +23,7 @@ export default class SceneCtrl {
const
cls
=
this
.
_sceneClassMap
[
type
];
const
cls
=
this
.
_sceneClassMap
[
type
];
const
scene
:
Scene
=
new
cls
();
const
scene
:
Scene
=
new
cls
();
if
(
!
window
[
'development'
])
{
if
(
!
window
[
'development'
])
{
if
(
type
!=
ModuleTypes
.
START_SCENE
)
Loading
.
instace
.
show
();
Loading
.
instace
.
show
();
const
key
=
scene
.
skinKey
.
toLowerCase
();
const
key
=
scene
.
skinKey
.
toLowerCase
();
const
promise
=
Promise
.
all
([
const
promise
=
Promise
.
all
([
...
...
egret/src/something/uis/Loading2.ts
View file @
e1f049c7
...
@@ -51,8 +51,8 @@ export class Loading2 extends egret.Sprite {
...
@@ -51,8 +51,8 @@ export class Loading2 extends egret.Sprite {
}
}
show
()
{
show
()
{
Loading2
.
_parent
.
addChild
(
this
);
//
Loading2._parent.addChild(this);
this
.
addEventListener
(
egret
.
Event
.
ENTER_FRAME
,
this
.
onEnterFrame
,
this
);
//
this.addEventListener(egret.Event.ENTER_FRAME, this.onEnterFrame, this);
}
}
hide
()
{
hide
()
{
...
...
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