Skip to content

Commit

Permalink
Merge pull request #122 from Next2D/develop
Browse files Browse the repository at this point in the history
Loadingの処理を修正
  • Loading branch information
ienaga committed Nov 7, 2023
2 parents 2a57a2a + d590c41 commit 2309ffb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@next2d/framework",
"description": "Next2D Framework is designed according to the principles of clean architecture, domain-driven development, test-driven development, and MVVM, with an emphasis on flexibility, scalability, and maintainability, and a design methodology that keeps each layer loosely coupled.",
"version": "2.0.0",
"version": "2.0.1",
"homepage": "https://next2d.app",
"bugs": "https://github.com/Next2D/Framework/issues/new",
"author": "Toshiyuki Ienaga <ienaga@next2d.app> (https://github.com/ienaga/)",
Expand Down
7 changes: 1 addition & 6 deletions src/domain/loading/Loading.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,7 @@ export const start = (): Promise<void> =>
return resolve();
}

$instance.start();

setTimeout(() =>
{
resolve();
}, 500);
resolve($instance.start());
});
};

Expand Down
10 changes: 5 additions & 5 deletions src/domain/screen/DefaultLoading.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ const initialize = (): void =>
sprite,
getEndObject(),
getStartObject(),
0.2,
0.7,
0.12,
0.5,
Easing.inOutCubic
);
sprite.setLocalVariable("reduceJob", reduceJob);
Expand All @@ -65,8 +65,8 @@ const initialize = (): void =>
sprite,
getStartObject(),
getEndObject(),
0.2,
0.7,
0.12,
0.5,
Easing.inOutCubic
);
sprite.setLocalVariable("expandJob", expandJob);
Expand Down Expand Up @@ -139,7 +139,7 @@ export class DefaultLoading
setTimeout((): void =>
{
expandJob.start();
}, 200 * idx);
}, 120 * idx);
} else {
expandJob.start();
}
Expand Down

0 comments on commit 2309ffb

Please sign in to comment.