Skip to content

Conversation

@seea17
Copy link
Contributor

@seea17 seea17 commented Dec 29, 2018

Hello,

** Content of trouble
The loading bar may be displayed outside the screen.

** Reproduction procedure

  1. Create a new project with RPG Maker MV version 1.6.1.
  2. Apply community-1.3 to the new project you created.
  3. Start the test play.
  4. Select a new game.
  5. Press the F4 key (full screen display).
  6. Press the X key (open the menu).
  7. Press the X key (close the menu).
  8. Press the F4 key (cancel the full screen display).
  9. Outside the range of the screen is displayed. The vertical and horizontal scroll bars are displayed.

This phenomenon occurs regardless of whether the loading bar is hidden or displayed.

** Cause
This is because the size of Graphics._progressElement (element id: 'loading-progress') is not changed to its original size.

** How to fix
Assuming that the loading bar is scaled to fit the screen,
Add this._updateProgress() in Graphics._updateAllElements
If there is no intention to scale it will be another solution.
Since we are going through the enlarging process, we corrected it by assuming that it would likely be scaled up.
Please consider.

■不具合の内容
ローディングバーが画面外に表示されることがある。

■再現手順
1. MV バージョン 1.6.1 の新規プロジェクトを作成する。
2. 作成した新規プロジェクトに community-1.3 を適用する。
3. テストプレイを開始する。
4. ニューゲームを選択する。
5. F4 キーを押す(全画面表示する)。
6. X キーを押す(メニューを開く)。
7. X キーを押す(メニューを閉じる)。
8. F4 キーを押す(全画面表示を解除する)。※不具合発生
9. 画面の範囲外が表示されています。縦スクロールバーと横スクロールバーが表示されます。

ローディングバーが一度も表示されなくても再現します。

■原因
Graphics._progressElement (id:loading-progress) が拡大されたまま元に戻らないため。

■修正方法
ローディングバーは画面に合わせて拡大縮小するものと仮定して、
Graphics._updateAllElements 内に this._updateProgress() を追加します。
拡大縮小する予定がないなら別の修正になります。
拡大する処理は通っていますので多分拡大縮小するものだろうと予想して修正しました。
ご検討ください。
Copy link
Collaborator

@krmbn0576 krmbn0576 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 😇
Thank you for complete and easy-to-understand explanation.
It was very helpful!

Copy link
Contributor

@Sigureya Sigureya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK!

@seea17
Copy link
Contributor Author

seea17 commented Jan 6, 2019

Thank you for your review!

(Probably, I don't have merge permission.)

@krmbn0576 krmbn0576 merged commit 7b94398 into rpgtkoolmv:master Jan 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants