-
Solfege Pitch Preview
- - - - + + + +
+
+
+
+
+
+ Solfege Pitch Preview
+ + + + +
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ // Hide certain elements
+ hideElementById("Show/hide blocks");
+ hideElementById("Expand/collapse blocks");
+ hideElementById("Decrease block size");
+ hideElementById("Increase block size");
+ hideElementById("grid");
+ hideElementById("palette");
+ } else {
+ // Disable play-only mode
+ body.classList.remove("play-only");
+ removePersistentNotification();
+
+ if (homeButton) homeButton.style = "";
+ if (buttonContainer) buttonContainer.style = "";
+
+ showElementById("Show/hide blocks");
+ showElementById("Expand/collapse blocks");
+ showElementById("Decrease block size");
+ showElementById("Increase block size");
+ showElementById("grid");
+ showElementById("palette");
+ }
+ }
-
+ togglePlayOnlyMode();
-
\ No newline at end of file
+ window.addEventListener("resize", togglePlayOnlyMode);
+ });
+
+
+