small fixes for clarity

This commit is contained in:
Ruben van de Ven 2022-05-02 22:49:56 +02:00
parent 111bfeeb7a
commit 666b91b3c7
2 changed files with 12 additions and 0 deletions

View file

@ -177,6 +177,15 @@
pointer-events: all; pointer-events: all;
} }
.noUi-handle:focus{
/* background: red;; */
border: solid 2px #601be0;
}
/* .noUi-handle:focus::before, .noUi-handle:focus::after{
background: #601be0;
} */
.tags .tag span { .tags .tag span {
display: inline-block; display: inline-block;
width: 20px; width: 20px;

View file

@ -178,6 +178,9 @@ class Annotator extends EventTarget {
this.playPauseEl.addEventListener("click", (ev) => { this.playPauseEl.addEventListener("click", (ev) => {
this.playPause() this.playPause()
}) })
this.playPauseEl.addEventListener('keydown',(ev) => {
ev.preventDefault(); // we don't want to spacebar, as this is captured in the overall keydown event
})
this.scrubberEl = document.createElement('div'); this.scrubberEl = document.createElement('div');
this.scrubberEl.classList.add('scrubber') this.scrubberEl.classList.add('scrubber')