drum-machine move selection menu scrollbar to left

This commit is contained in:
Trent Palmer 2020-05-27 13:21:17 -07:00
parent b137e5e185
commit fc53c8865c
2 changed files with 9 additions and 6 deletions

View File

@ -10,10 +10,9 @@
### TODOS
* bind 'v' key to focus volume slider
* increase granularity of esc key function in selection menus back navigation
* add focus() to selectionMenuItems so that you can immediately begin scrolling with arrow keys
* add tip for scrolling selectionMenuItems
* move selectionMenu scroller to the left
* make sure metronome continues on volume, sound, or metronome BPM change
* add additional metronome speed values
* fix toolstips for menuselectionitems

View File

@ -135,24 +135,28 @@ body {
.selectionMenu {
margin: auto;
background-color: var(--global-third-color);
border-radius: 1rem;
border-radius: 5px;
width: 54vh;
height: 45vh;
display: flex;
flex-direction: column;
flex: 1;
overflow: auto;
scrollbar-color: black var(--global-fourth-color);
scrollbar-color: var(--global-black-color) var(--global-second-color);
scrollbar-width: thin;
padding-top: 10px;
padding-bottom: 10px;
direction: rtl;
}
.selectionMenu::-webkit-scrollbar {
background-color: var(--global-fourth-color);
background-color: var(--global-third-color);
border-radius: 5px;
}
.selectionMenu::-webkit-scrollbar-thumb {
background-color: black;
background-color: var(--global-black-color);
border-radius: 5px;
}
.selectionMenuItem, .volumeSelectionMenuItem, .metronomeSelectionMenuItem {