summaryrefslogtreecommitdiff
path: root/patches/heatmap.js+2.0.5.patch
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2024-12-18 00:49:41 +0100
committerJoel Klinghed <the_jk@spawned.biz>2024-12-18 00:49:41 +0100
commit8eed49067b82c7ec017ace069427185a2e135e41 (patch)
tree122550d0c07538cb4c8a10d9baece4648cbf3008 /patches/heatmap.js+2.0.5.patch
parent3b198d300fd634326dcab2557c8afb18adeba144 (diff)
Add display and fix many issues
Diffstat (limited to 'patches/heatmap.js+2.0.5.patch')
-rw-r--r--patches/heatmap.js+2.0.5.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/heatmap.js+2.0.5.patch b/patches/heatmap.js+2.0.5.patch
new file mode 100644
index 0000000..96f2f93
--- /dev/null
+++ b/patches/heatmap.js+2.0.5.patch
@@ -0,0 +1,13 @@
+diff --git a/node_modules/heatmap.js/build/heatmap.js b/node_modules/heatmap.js/build/heatmap.js
+index 3eee39e..a37c950 100644
+--- a/node_modules/heatmap.js/build/heatmap.js
++++ b/node_modules/heatmap.js/build/heatmap.js
+@@ -524,7 +524,7 @@ var Canvas2dRenderer = (function Canvas2dRendererClosure() {
+
+ }
+
+- img.data = imgData;
++ //img.data = imgData;
+ this.ctx.putImageData(img, x, y);
+
+ this._renderBoundaries = [1000, 1000, 0, 0];