diff --git a/canvas.html b/canvas.html
index c8f5a27..57f2596 100644
--- a/canvas.html
+++ b/canvas.html
@@ -31,7 +31,7 @@
{
ctx.translate(canvas.width/2, canvas.height/2);
- ctx.fillStyle = "red";
+ ctx.fillStyle = "blue";
ctx.fillRect(-50, -50, 100, 100);
}
ctx.restore();
diff --git a/threejs_material_tweaker.html b/threejs_material_tweaker.html
index b7a603e..cdad180 100644
--- a/threejs_material_tweaker.html
+++ b/threejs_material_tweaker.html
@@ -161,7 +161,7 @@
/* load the db once, then cache it */
const _db_load = new Promise(res => {
- const req = indexedDB.open("cedcraft_data", 1);
+ const req = indexedDB.open("tweaker_data", 1);
req.onupgradeneeded = () => {
const db = event.target.result;
db.createObjectStore("saves", { keyPath: "save_name" });
@@ -600,7 +600,7 @@
folder.add( data, 'envMap', mapKeys).onChange( updateTexture( material, 'envMap', envMaps ) );
}
- const gui = new GUI();
+ const gui = window.gui = new GUI();
const renderer = new THREE.WebGLRenderer( { antialias: true } );
renderer.setPixelRatio( window.devicePixelRatio );