Skip to content

Commit 45f3b20

Browse files
author
liply
committed
adjust progress bar
1 parent ea89397 commit 45f3b20

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

js/rpg_core/Graphics.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ Graphics._setupProgress = function(){
259259
this._progressElement.id = 'loading-progress';
260260
this._progressElement.max = 100;
261261
this._progressElement.value = 0;
262+
262263
document.body.appendChild(this._progressElement);
263264
};
264265

@@ -282,6 +283,7 @@ Graphics._updateProgressCount = function(countLoaded, countLoading){
282283
Graphics._updateProgress = function(){
283284
this._progressElement.style.zIndex = 99;
284285
this._centerElement(this._progressElement);
286+
this._progressElement.style.bottom = '-100px';
285287
};
286288

287289
/**

0 commit comments

Comments
 (0)