Compare commits
1 Commits
f5a70470d2
...
b3240631f6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b3240631f6 |
@@ -7,6 +7,7 @@
|
|||||||
<link rel="stylesheet" href="custom.css">
|
<link rel="stylesheet" href="custom.css">
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
'use strict';
|
||||||
function hexToRgb(value) {
|
function hexToRgb(value) {
|
||||||
var aRgbHex = value.substring(1).match(/.{1,2}/g);
|
var aRgbHex = value.substring(1).match(/.{1,2}/g);
|
||||||
var aRgb = [
|
var aRgb = [
|
||||||
@@ -55,7 +56,7 @@
|
|||||||
document.getElementById('tempo').value = status.features.tempo.bpm;
|
document.getElementById('tempo').value = status.features.tempo.bpm;
|
||||||
let regions = status.features.region;
|
let regions = status.features.region;
|
||||||
let regLen = regions.length;
|
let regLen = regions.length;
|
||||||
for(i = 0; i < regLen; i++) {
|
for(let i = 0; i < regLen; i++) {
|
||||||
if (regions[i]) {
|
if (regions[i]) {
|
||||||
document.getElementById('region_' + i).classList.remove('region_off');
|
document.getElementById('region_' + i).classList.remove('region_off');
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user