Skip to content

Commit

Permalink
Fix finishing message not fading in/out
Browse files Browse the repository at this point in the history
  • Loading branch information
D4isDAVID committed Aug 20, 2024
1 parent 9f78d4d commit 64a67f4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

- Convar to remember the audio volume set by the player using audio controls.

### Fixed

- Finishing message not fading in/out.

## [2.0.0] - 2024-07-21

[2.0.0 diff]
Expand Down
2 changes: 1 addition & 1 deletion html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ <h1 id="server-message"></h1>
</div>
</body>

<div id="finishing-wrapper" style="display: none; opacity: 0">
<div id="finishing-wrapper" style="opacity: 0">
<h1 id="finishing-message"></h1>
<p id="log-line"></p>
</div>
Expand Down
2 changes: 0 additions & 2 deletions html/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,9 @@ const handlers = {
primaryBar.value = loadFraction;
if (loadFraction === 1) {
hideSecondaryBar();
finishingWrapper.style.display = '';
finishingWrapper.style.opacity = '1';
loadscreenWrapper.style.opacity = '0';
} else {
finishingWrapper.style.display = 'none';
finishingWrapper.style.opacity = '0';
loadscreenWrapper.style.opacity = '1';
}
Expand Down

0 comments on commit 64a67f4

Please sign in to comment.