Skip to content

Commit

Permalink
Merge pull request #7 from cwtickle/develop
Browse files Browse the repository at this point in the history
[ti-6.3] ローディングバー(カスタム)のデザインを変更
  • Loading branch information
cwtickle committed May 15, 2019
2 parents 3df159b + a353431 commit 818ff6f
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions js/danoni_custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,6 @@ function customLoadingProgress(_event) {
lblLoadingTitle.style.textAlign = C_ALIGN_LEFT;
divRoot.appendChild(lblLoadingTitle);
}

if (_event.lengthComputable) {
const rate = _event.loaded / _event.total;
const layer0 = document.querySelector(`#layer0`);
const l0ctx = layer0.getContext(`2d`);
l0ctx.fillStyle = C_CLR_LOADING_BAR;
l0ctx.fillRect(layer0.width * (1 - rate), 0, layer0.width * rate, 10);
}
}

/**
Expand All @@ -55,7 +47,7 @@ function customLoadingProgress(_event) {
function customTitleInit() {

// バージョン表記
g_localVersion = `ti-6.2`;
g_localVersion = `ti-6.3`;

// 製作者のデフォルトアドレス
if (g_headerObj.creatorUrl === location.href) {
Expand Down

0 comments on commit 818ff6f

Please sign in to comment.