We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1b2641 commit 8bdd422Copy full SHA for 8bdd422
_js/disjointRectangles.js
@@ -19,7 +19,7 @@ SentientWebsite.DisjointRectangles = function () {
19
"rgba(24,224,138,0.6)",
20
"rgba(67,74,253,0.6)",
21
"rgba(153,153,153,0.6)",
22
- "rgba(248,116,243,0.6)",
+ "rgba(248,116,243,0.6)"
23
];
24
25
self.initialize = function () {
@@ -60,10 +60,10 @@ SentientWebsite.DisjointRectangles = function () {
60
var h = height * scale + 1;
61
62
$(container).prepend(
63
- "<canvas id='disjoint-rectangles-example' width='"+w+"' height='"+h+"'></canvas>"
+ "<canvas id='rectangles-example' width='"+w+"' height='"+h+"'></canvas>"
64
);
65
66
- canvas = $("#disjoint-rectangles-example")[0];
+ canvas = $("#rectangles-example")[0];
67
context = canvas.getContext("2d");
68
context.translate(0.5, 0.5);
69
canvas.addEventListener("mousedown", handleEvent);
0 commit comments