@@ -1592,6 +1592,14 @@ input[type="number"]:focus {
box-sizing: border-box;
}
+/* Ensure preview images fit within container */
+#currently-playing-preview .preview-container,
+#currently-playing-preview .pattern-preview-image {
+ width: 100%;
+ height: 100%;
+ object-fit: contain;
+}
+
#currently-playing-preview .svg-container {
width: 100px;
height: 100px;
@@ -155,9 +155,6 @@ async function selectFile(file, listItem) {
// Update the preview
await previewPattern(file);
-
- // Populate the playlist dropdown after selecting a pattern
- await populatePlaylistDropdown();
// Fetch and display Theta-Rho files