remove console log

This commit is contained in:
David Allemang
2026-07-07 16:19:15 -04:00
parent 476da0dd90
commit a787981f57

View File

@@ -84,14 +84,12 @@ export class MCDioramaElement extends HTMLElement {
if (this.hasAttribute('phi')) diorama.phi = parseFloat(this.getAttribute('phi'));
if (this.hasAttribute('target')) {
console.log('target:', this.getAttribute('target'));
const [x, y, z] = this.getAttribute('target').trim().split(/\s+/);
diorama.target = [
parseFloat(x),
parseFloat(y),
parseFloat(z),
];
console.log('target:', diorama.target);
} else {
diorama.centerView();
}
@@ -134,4 +132,4 @@ export class MCDioramaElement extends HTMLElement {
// Register Elements
customElements.define('mc-world', MCWorldElement);
customElements.define('mc-frame', MCFrameElement);
customElements.define('mc-diorama', MCDioramaElement);
customElements.define('mc-diorama', MCDioramaElement);