Fixing scene overflow
This commit is contained in:
parent
d04df35506
commit
cf9467419d
@ -136,6 +136,8 @@
|
|||||||
/*background: #000000;*/
|
/*background: #000000;*/
|
||||||
margin: 20px auto 0;
|
margin: 20px auto 0;
|
||||||
color: #ebeeee;
|
color: #ebeeee;
|
||||||
|
height: 100vh;
|
||||||
|
overflow: auto;
|
||||||
/*max-height: 48vh;
|
/*max-height: 48vh;
|
||||||
width: 42vw;
|
width: 42vw;
|
||||||
max-width: 300px;*/
|
max-width: 300px;*/
|
||||||
|
@ -39,7 +39,6 @@
|
|||||||
|
|
||||||
|
|
||||||
function color(i: number, volume: number) {
|
function color(i: number, volume: number) {
|
||||||
console.log(i, volume)
|
|
||||||
const red = 255 * i / NB_BARS;
|
const red = 255 * i / NB_BARS;
|
||||||
const green = 255 * (1 - i / NB_BARS);
|
const green = 255 * (1 - i / NB_BARS);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user