Skip to content

Commit 23206c9

Browse files
Reposition guide within help widget (sugarlabs#4271)
1 parent 884f4bb commit 23206c9

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

js/turtledefs.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,14 @@ const createHelpContent = (activity) => {
476476
_("Let us start our tour!"),
477477
"data:image/svg+xml;base64," +
478478
window.btoa(base64Encode(MOUSEPALETTEICON))
479+
],
480+
[
481+
_("Guide"),
482+
_("A detailed guide to Music Blocks is available."),
483+
"data:image/svg+xml;base64," +
484+
window.btoa(base64Encode(LOGO)),
485+
GUIDEURL,
486+
_("Music Blocks Guide")
479487
],
480488
[
481489
_("Play"),
@@ -697,16 +705,16 @@ const createHelpContent = (activity) => {
697705
"data:image/svg+xml;base64," +
698706
window.btoa(
699707
base64Encode(PLUGINSDELETEBUTTON))
700-
708+
701709
]);
702710
HELPCONTENT.push([
703711
_("Enable scrolling"),
704712
_("You can scroll the blocks on the canvas."),
705713
"data:image/svg+xml;base64," +
706714
window.btoa(
707715
base64Encode(SCROLLUNLOCKBUTTON))
708-
709-
]);
716+
717+
]);
710718
}
711719
// TODO: Add merge
712720
HELPCONTENT.push([
@@ -715,7 +723,7 @@ const createHelpContent = (activity) => {
715723
"data:image/svg+xml;base64," +
716724
window.btoa(
717725
base64Encode(WRAPTURTLEBUTTON))
718-
726+
719727
]);
720728
// TODO: Music Blocks: set pitch preview
721729
// TODO: toggle JS editor
@@ -725,7 +733,7 @@ const createHelpContent = (activity) => {
725733
"data:image/svg+xml;base64," +
726734
window.btoa(
727735
base64Encode(RESTORETRASHBUTTON))
728-
736+
729737
]);
730738
HELPCONTENT.push([
731739
_("Switch mode"),
@@ -785,14 +793,6 @@ const createHelpContent = (activity) => {
785793
window.btoa(base64Encode(LOGO))
786794
]);
787795
} else {
788-
HELPCONTENT.push([
789-
_("Guide"),
790-
_("A detailed guide to Music Blocks is available."),
791-
"data:image/svg+xml;base64," +
792-
window.btoa(base64Encode(LOGO)),
793-
GUIDEURL,
794-
_("Music Blocks Guide")
795-
]);
796796
HELPCONTENT.push([
797797
_("About"),
798798
_("Music Blocks is an open source collection of tools for exploring musical concepts.") +

0 commit comments

Comments
 (0)