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

@ -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',