Skip to content

Unable to load image for more than one second in bangle js emulator #7811

Discussion options

You must be logged in to vote

As others have said, it might be you're drawing the background once in the main code, but then the clock code is doing g.clear() or g.clearRect() and overwriting it almost immediately.

You could also look at the 'Clock Backgrounds' library which is designed to make it easier to add backgrounds to clocks: https://banglejs.com/apps/?id=clockbg&readme

Once you add and use it in your clock, you can then upload new backgrounds from the app loader

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by wolverine19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants