Skip to content

Commit

Permalink
Update levels.html
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-annett committed Jul 30, 2024
1 parent d960574 commit 7904ced
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mcec/speech/levels.html
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,11 @@
}


.overThreshold {
div.overThreshold {
display:none;
}

body.overThreshold .overThreshold {
body.overThreshold div.overThreshold {
display:block;
}

Expand Down Expand Up @@ -518,14 +518,14 @@
c2.addEventListener('mousedown',function(e){
const rectangle = c2.getBoundingClientRect();
ceilValue = ((c2.clientHeight)-(e.y - rectangle.top+4))/c2.clientHeight/scale;
console.log({ceilValue});
//console.log({ceilValue});
scaleChanged();
});
c2.addEventListener('mousemove',function(e){
if(e.buttons === 1) {
const rectangle = c2.getBoundingClientRect();
ceilValue = ((c2.clientHeight)-(e.y - rectangle.top+4))/c2.clientHeight/scale;
console.log({ceilValue});
//console.log({ceilValue});
scaleChanged();
}
});
Expand Down

0 comments on commit 7904ced

Please sign in to comment.