Tuan Nguyen 9 ماه پیش
والد
کامیت
1bc7f156e5
2فایلهای تغییر یافته به همراه8 افزوده شده و 3 حذف شده
  1. 8 0
      static/css/style.css
  2. 0 3
      static/js/main.js

+ 8 - 0
static/css/style.css

@@ -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;

+ 0 - 3
static/js/main.js

@@ -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