mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-27 12:03:52 +00:00
Make active pseudo selector apply when clicking in the track to set band
This commit is contained in:
parent
3b6dd69576
commit
021f792246
1 changed files with 6 additions and 2 deletions
|
|
@ -150,7 +150,9 @@ export const imageSelectors = {
|
|||
EQ_TITLE_BAR_SELECTED: [".selected .equalizer-top"],
|
||||
EQ_SLIDER_BACKGROUND: [".band"],
|
||||
EQ_SLIDER_THUMB: [".band .rc-slider-handle"],
|
||||
EQ_SLIDER_THUMB_SELECTED: [".band .rc-slider-handle:active"],
|
||||
// But the "active" pseudo selector on the parent, since clicking
|
||||
// anywhere on the track moves the slider.
|
||||
EQ_SLIDER_THUMB_SELECTED: [".band .rc-slider:active .rc-slider-handle"],
|
||||
EQ_ON_BUTTON: ["#on"],
|
||||
EQ_ON_BUTTON_DEPRESSED: ["#on:active"],
|
||||
EQ_ON_BUTTON_SELECTED: ["#on.selected"],
|
||||
|
|
@ -329,7 +331,9 @@ LETTERS.forEach(character => {
|
|||
|
||||
export const cursorSelectors = {
|
||||
CLOSE: ["#title-bar #close"],
|
||||
EQSLID: ["#equalizer-window .band"],
|
||||
// This is not quite right. There are some areas that show this cursor
|
||||
// but are not clickable.
|
||||
EQSLID: ["#equalizer-window .band rc-slider"],
|
||||
EQNORMAL: ["#equalizer-window"],
|
||||
EQCLOSE: ["#equalizer-window #equalizer-close"],
|
||||
EQTITLE: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue