Skip to content

Stop loading text in background#4283

Merged
walterbender merged 3 commits intosugarlabs:masterfrom
Commanderk3:loading2
Jan 18, 2025
Merged

Stop loading text in background#4283
walterbender merged 3 commits intosugarlabs:masterfrom
Commanderk3:loading2

Conversation

@Commanderk3
Copy link
Member

Loading text message function runs in the background

@walterbender I noticed that the loading messages continued to change even after the loading screen was dismissed. This PR addresses the issue, ensuring smoother behavior and making Music Blocks slightly more efficient.

load.fix.mp4

@walterbender
Copy link
Member

Maybe we need to adjust some of the timeouts? The third string is never shown.

index.html Outdated
// Stop changing text and finalize loading after 6 seconds
setTimeout(function () {
clearInterval(intervalId);
loadingText.textContent = "Loading Complete!";
Copy link
Member

Choose a reason for hiding this comment

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

Doesn't this need _() too?

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh yes, i will update

@Commanderk3
Copy link
Member Author

@walterbender Sir this should fix the issue.

@walterbender walterbender merged commit dd46e87 into sugarlabs:master Jan 18, 2025
4 checks passed
Ubayed-Bin-Sufian pushed a commit to Ubayed-Bin-Sufian/musicblocks that referenced this pull request Jan 24, 2025
* stop message

* translation added

* fix2
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.

2 participants