Merge branch 'master' of github.com:jean-emmanuel/open-stage-control

This commit is contained in:
bordun 2021-01-11 11:04:05 +01:00
commit 4c94149d37
2 changed files with 3 additions and 2 deletions

View file

@ -3,6 +3,7 @@
## next
- bug fixes
- keyboard: allow note numbers up to 127
- server: return http 404 error when a user-requested resource is not found instead of keeping a pending request
- project tree

View file

@ -102,13 +102,13 @@ class Keyboard extends Panel {
var pattern = 'wbwbwwbwbwbw',
whiteKeys = 0, whiteKeys2 = 0, i
for (i = start; i < keys + start && i < 109; i++) {
for (i = start; i < keys + start && i < 128; i++) {
if (pattern[i % 12] == 'w') whiteKeys++
}
this.container.style.setProperty('--nkeys', whiteKeys)
for (i = start; i < keys + start && i < 109; i++) {
for (i = start; i < keys + start && i < 128; i++) {
var data = {
top: 'auto',