Sugar Labs

Music Blocks: Help icons

The help icons are currently loaded from a file as specified in turtledefs.js

For example, 'header-icons/stop-turtle-button.svg'

The problem is that these are not actually the images used in the interface. Those images are loaded as inline SVG from artwork.js

For example, the Stop button is loaded from: STOPTURTLEBUTTON using: 'data:image/svg+xml;base64,' + window.btoa(unescape(encodeURIComponent(STOPTURTLEBUTTON)));

It would make sense to use the same inline artwork for help.

Your mission, should you care to adopt it, is to switch over to the inline artwork. Other relevant code can be found in the help widget.

Please make a Pull Request from your commits.

Task tags

  • javascript

Students who completed this task

sdziuda

Task type

  • code Code
close

2018