Merge branch 'master' of github.com:jean-emmanuel/open-stage-control
This commit is contained in:
commit
4c94149d37
2 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue