Skip to content

Commit

Permalink
Merge branch 'pr/1580' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Lionel Laské committed Apr 15, 2024
2 parents 24b38e1 + 3ee5410 commit 2365de3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Images go under each other while editing in Fototoon #1552
- Missalignment of icons and text in Fototoon activity "clean all" button #1596
- Extra icon rendering in QRCode activity #1193
- Message Updation in Fraction Activity #1453

## [1.8.0] - 2024-04-10
### Added
Expand Down
4 changes: 4 additions & 0 deletions activities/FractionBounce.activity/js/activity.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ let app = new Vue({
helpText: function () {
if (this.answer == -1) {
return this.l10n.stringHelpClickToStart;
} else if ((this.paused && this.bounceCount == 0 && Score.innerHTML.length == 0 && this.mode == 'percents') || (this.paused && this.bounceCount == 0 && Score.innerHTML == " " && this.mode == 'percents')) {
return this.l10n.stringHelpBounceToPosition + ' ' + Math.floor(this.answer / this.parts * 100) + '%' + ' ' + this.l10n.stringHelpOfTheWay;
} else if ((this.paused && this.bounceCount == 0 && Score.innerHTML.length == 0) || (this.paused && this.bounceCount == 0 && Score.innerHTML == " ")) {
return this.l10n.stringHelpBounceToPosition + ' ' + this.answer + "/" + this.parts + ' ' + this.l10n.stringHelpOfTheWay;
} else if (this.paused && this.bounceCount == 0) {
return this.l10n.stringHelpGameOver;
} else if (this.mode == 'percents') {
Expand Down

0 comments on commit 2365de3

Please sign in to comment.