@ue-too/board 0.17.4 → 0.17.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -3517,18 +3517,6 @@ class CanvasProxy {
3517
3517
  this._canvas = canvas;
3518
3518
  this._canvasPositionDimensionPublisher.attach(canvas);
3519
3519
  }
3520
- logCanvasTrueSize() {
3521
- if (this._canvas === undefined) {
3522
- return;
3523
- }
3524
- console.log("canvas true size");
3525
- console.log("style width", this._canvas.style.width);
3526
- console.log("style height", this._canvas.style.height);
3527
- console.log("width", this._canvas.width);
3528
- console.log("height", this._canvas.height);
3529
- console.log("proxy width", this._width);
3530
- console.log("proxy height", this._height);
3531
- }
3532
3520
  }
3533
3521
 
3534
3522
  class SvgProxy {
@@ -3627,18 +3615,6 @@ class SvgProxy {
3627
3615
  position: this._position
3628
3616
  });
3629
3617
  }
3630
- logCanvasTrueSize() {
3631
- if (this._svg === undefined) {
3632
- return;
3633
- }
3634
- console.log("canvas true size");
3635
- console.log("style width", this._svg.style.width);
3636
- console.log("style height", this._svg.style.height);
3637
- console.log("width", this._svg.width);
3638
- console.log("height", this._svg.height);
3639
- console.log("proxy width", this._width);
3640
- console.log("proxy height", this._height);
3641
- }
3642
3618
  }
3643
3619
 
3644
3620
  class WorkerRelayCanvas {
@@ -4461,7 +4437,6 @@ class VanillaKMTEventParser {
4461
4437
  }
4462
4438
  }
4463
4439
  keypressHandler(e) {
4464
- console.log("keypressHandler", e.key);
4465
4440
  if (e.target !== document.body) {
4466
4441
  return;
4467
4442
  }
@@ -4473,7 +4448,6 @@ class VanillaKMTEventParser {
4473
4448
  this.processEvent("spacebarDown");
4474
4449
  }
4475
4450
  if (e.key === "Escape") {
4476
- console.log("escape key pressed");
4477
4451
  this.processEvent("escapeKey");
4478
4452
  }
4479
4453
  if (e.key === "ArrowUp") {
@@ -4804,7 +4778,6 @@ class Board {
4804
4778
  this._kmtParser = new VanillaKMTEventParser(kmtInputStateMachine, this._inputOrchestrator, canvas);
4805
4779
  this._touchParser = new VanillaTouchEventParser(touchInputStateMachine, this._inputOrchestrator, canvas);
4806
4780
  if (canvas != null) {
4807
- console.log("canvas exists on creation of board");
4808
4781
  this.attach(canvas, debug);
4809
4782
  }
4810
4783
  }
@@ -5259,6 +5232,6 @@ export {
5259
5232
  AcceptingUserInputState
5260
5233
  };
5261
5234
 
5262
- //# debugId=1FDA39FB516201FF64756E2164756E21
5235
+ //# debugId=17C191360A0DBE7B64756E2164756E21
5263
5236
 
5264
5237
  //# sourceMappingURL=index.js.map