feat: implemented drag-n-drop to import KGOne generated audio/MIDI file feature

This commit is contained in:
Xiaohan-Tian
2026-04-15 22:40:47 -07:00
parent cadd51c3a4
commit 7b82572d5c
8 changed files with 464 additions and 13 deletions
+35
View File
@@ -124,6 +124,11 @@
margin-top: 2px;
}
.kgone-hint strong {
color: #999;
font-weight: 600;
}
/* Two-column row (e.g. note + scale) */
.kgone-row {
display: flex;
@@ -284,6 +289,36 @@
flex-shrink: 0;
}
.kgone-player-drag-handle {
color: #555;
cursor: grab;
font-size: 12px;
padding: 2px 4px;
flex-shrink: 0;
display: flex;
align-items: center;
}
.kgone-player-drag-handle:hover {
color: #888;
}
.kgone-player-download-btn {
background: transparent;
border: none;
color: #888;
cursor: pointer;
font-size: 12px;
padding: 2px 4px;
flex-shrink: 0;
display: flex;
align-items: center;
}
.kgone-player-download-btn:hover {
color: #7a9cff;
}
/* ── Generation state feedback ─────────────────────────────────────────────── */
.kgone-gen-hint {
color: #888;