fixed firefox bug

This commit is contained in:
2023-02-10 19:52:03 +01:00
parent dd782bd0dc
commit b0d66d5c78
2 changed files with 8 additions and 1 deletions
+3
View File
@@ -20,6 +20,9 @@ a:hover {
html, html,
body { body {
height: 100%; height: 100%;
margin:0;
padding:0;
overflow: hidden;
/* background-color: #333; */ /* background-color: #333; */
} }
+4
View File
@@ -12,7 +12,11 @@ function setup() {
function draw() { function draw() {
blendMode(BLEND); blendMode(BLEND);
background(255); background(255);
if (!!window.chrome) {
blendMode(MULTIPLY); blendMode(MULTIPLY);
}
images.forEach((d) => d.draw()); images.forEach((d) => d.draw());
} }