refactor: Remove debug logging from WebGL2LayerClass initialization and syncTransform methods

This commit is contained in:
Azgaar 2026-03-12 19:29:58 +01:00
parent 744dbb154c
commit ae6d105bf1

View file

@ -34,8 +34,6 @@ export class WebGL2LayerClass {
this.scene = new Scene();
this.camera = new OrthographicCamera(0, graphWidth, 0, graphHeight, -1, 1);
console.log("WebGL2Layer: initialized");
svg.on("zoom.webgl", () => this.requestRender());
// Process pre-init registrations (register() before init() is explicitly safe)
@ -101,13 +99,6 @@ export class WebGL2LayerClass {
}
syncTransform(): void {
console.log("WebGL2Layer: syncing transform", {
viewX,
viewY,
scale,
graphWidth,
graphHeight,
});
if (!this.camera) return;
const x = -viewX / scale;
const y = -viewY / scale;