fixed firefox bug
This commit is contained in:
@@ -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; */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user