feat: added zoom-in/out feature for piano roll window.

This commit is contained in:
Xiaohan-Tian
2026-05-01 23:26:39 -07:00
parent d59ad68f72
commit 811b3a0936
3 changed files with 85 additions and 0 deletions
+28
View File
@@ -314,4 +314,32 @@
align-items: center;
justify-content: center;
z-index: 100;
}
.piano-roll-zoom-popup {
position: absolute;
top: 100%;
right: 0;
background-color: #2d2d2d;
border: 1px solid #444;
border-radius: 3px;
padding: 8px 12px;
z-index: 1500;
display: flex;
align-items: center;
gap: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
white-space: nowrap;
margin-top: 2px;
}
.piano-roll-zoom-popup input[type="range"] {
width: 120px;
}
.piano-roll-zoom-value {
font-size: 12px;
color: #e0e0e0;
min-width: 20px;
text-align: center;
}