Fixing scene overflow

This commit is contained in:
David Négrier 2021-06-01 16:22:39 +02:00
parent d04df35506
commit cf9467419d
2 changed files with 2 additions and 1 deletions

View File

@ -136,6 +136,8 @@
/*background: #000000;*/
margin: 20px auto 0;
color: #ebeeee;
height: 100vh;
overflow: auto;
/*max-height: 48vh;
width: 42vw;
max-width: 300px;*/

View File

@ -39,7 +39,6 @@
function color(i: number, volume: number) {
console.log(i, volume)
const red = 255 * i / NB_BARS;
const green = 255 * (1 - i / NB_BARS);