Compare commits

..

2 Commits

Author SHA1 Message Date
Ruben van de Ven c916dfaec1 Sticky annotation actions 2022-06-14 17:32:20 +02:00
Ruben van de Ven d39548ff95 Fix: selection glitch in annotation index 2022-06-14 17:31:49 +02:00
2 changed files with 5 additions and 2 deletions

View File

@ -58,6 +58,10 @@
color: darkgray;
font-size: 80%;
border-bottom: solid 3px #444;
position: sticky;
top: 0;
background: rgb(39, 40, 41);
padding: 3px 0;
}

View File

@ -205,9 +205,8 @@ class AnnotationManager {
if (this.selectedAnnotations.indexOf(annotation) !== -1){
this.selectedAnnotations.splice(this.selectedAnnotations.indexOf(annotation), 1)
}
this.annotationsEl.querySelector('#select-'+annotation.id_hash).checked = true;
this.annotationsEl.querySelector('#select-'+annotation.id_hash).checked = false;
this.buildAnnotationActions()
}
buildAnnotationActions() {