From f85d339c0c0f6b2a8f59570a4fc3d4d4611dc341 Mon Sep 17 00:00:00 2001 From: "Sean S. LeBlanc" Date: Wed, 29 Apr 2020 01:43:13 -0400 Subject: [PATCH] make pixelated css optional --- WebGLTemplates/BetterMinimal/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WebGLTemplates/BetterMinimal/index.html b/WebGLTemplates/BetterMinimal/index.html index 049acc3..8c1cefa 100644 --- a/WebGLTemplates/BetterMinimal/index.html +++ b/WebGLTemplates/BetterMinimal/index.html @@ -22,7 +22,7 @@ } div#gameContainer canvas { - position: absolute; + position: absolute;{{{ OPTIMIZE_FOR_PIXEL_ART && ` image-rendering: optimizeSpeed; image-rendering: -webkit-crisp-edges; image-rendering: -moz-crisp-edges; @@ -31,7 +31,7 @@ image-rendering: -webkit-optimize-contrast; image-rendering: optimize-contrast; image-rendering: pixelated; - -ms-interpolation-mode: nearest-neighbor; + -ms-interpolation-mode: nearest-neighbor;` }}} }