Make bg always pixelated
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
This commit is contained in:
parent
7e6df6819f
commit
b23a9183ea
2 changed files with 8 additions and 0 deletions
|
@ -63,3 +63,8 @@
|
|||
image-rendering: pixelated;
|
||||
image-rendering: crisp-edges;
|
||||
}
|
||||
|
||||
canvas.pixelated {
|
||||
image-rendering: pixelated;
|
||||
image-rendering: crisp-edges;
|
||||
}
|
||||
|
|
|
@ -22,6 +22,9 @@ const bgLayer = imageCollection.registerLayer("bg", {
|
|||
name: "Background",
|
||||
category: "background",
|
||||
});
|
||||
|
||||
bgLayer.canvas.classList.add("pixelated");
|
||||
|
||||
const imgLayer = imageCollection.registerLayer("image", {
|
||||
name: "Image",
|
||||
category: "image",
|
||||
|
|
Loading…
Reference in a new issue