Add portraits and move offset
|
After Width: | Height: | Size: 116 KiB |
|
After Width: | Height: | Size: 143 KiB |
|
After Width: | Height: | Size: 72 KiB |
|
After Width: | Height: | Size: 95 KiB |
|
After Width: | Height: | Size: 189 KiB |
|
After Width: | Height: | Size: 97 KiB |
|
After Width: | Height: | Size: 252 KiB |
|
After Width: | Height: | Size: 164 KiB |
|
After Width: | Height: | Size: 127 KiB |
|
|
@ -97,7 +97,7 @@ function drawLayers() {
|
||||||
cumulative += liquid.volume;
|
cumulative += liquid.volume;
|
||||||
if (cumulative < 20) {
|
if (cumulative < 20) {
|
||||||
label.style.left = "18%";
|
label.style.left = "18%";
|
||||||
label.style.transform = "translate(-30%, -50%)";
|
label.style.transform = "translate(60%, -50%)";
|
||||||
}
|
}
|
||||||
|
|
||||||
layer.appendChild(label);
|
layer.appendChild(label);
|
||||||
|
|
|
||||||