microboard-temp 0.5.54 → 0.5.55

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.
@@ -48317,7 +48317,7 @@ class Deck extends BaseItem {
48317
48317
  const progress = now % 2000 / 2000;
48318
48318
  const yPos = this.top + this.getHeight() * Math.abs(Math.sin(progress * Math.PI));
48319
48319
  ctx.fillStyle = conf.SELECTION_COLOR;
48320
- ctx.fillRect(this.left + 5, yPos - 2, this.getWidth() - 10, 4);
48320
+ ctx.fillRect(this.left, yPos - 2, this.getWidth(), 4);
48321
48321
  }
48322
48322
  ctx.restore();
48323
48323
  }
package/dist/cjs/index.js CHANGED
@@ -48317,7 +48317,7 @@ class Deck extends BaseItem {
48317
48317
  const progress = now % 2000 / 2000;
48318
48318
  const yPos = this.top + this.getHeight() * Math.abs(Math.sin(progress * Math.PI));
48319
48319
  ctx.fillStyle = conf.SELECTION_COLOR;
48320
- ctx.fillRect(this.left + 5, yPos - 2, this.getWidth() - 10, 4);
48320
+ ctx.fillRect(this.left, yPos - 2, this.getWidth(), 4);
48321
48321
  }
48322
48322
  ctx.restore();
48323
48323
  }
package/dist/cjs/node.js CHANGED
@@ -50790,7 +50790,7 @@ class Deck extends BaseItem {
50790
50790
  const progress = now % 2000 / 2000;
50791
50791
  const yPos = this.top + this.getHeight() * Math.abs(Math.sin(progress * Math.PI));
50792
50792
  ctx.fillStyle = conf.SELECTION_COLOR;
50793
- ctx.fillRect(this.left + 5, yPos - 2, this.getWidth() - 10, 4);
50793
+ ctx.fillRect(this.left, yPos - 2, this.getWidth(), 4);
50794
50794
  }
50795
50795
  ctx.restore();
50796
50796
  }
@@ -48163,7 +48163,7 @@ class Deck extends BaseItem {
48163
48163
  const progress = now % 2000 / 2000;
48164
48164
  const yPos = this.top + this.getHeight() * Math.abs(Math.sin(progress * Math.PI));
48165
48165
  ctx.fillStyle = conf.SELECTION_COLOR;
48166
- ctx.fillRect(this.left + 5, yPos - 2, this.getWidth() - 10, 4);
48166
+ ctx.fillRect(this.left, yPos - 2, this.getWidth(), 4);
48167
48167
  }
48168
48168
  ctx.restore();
48169
48169
  }
package/dist/esm/index.js CHANGED
@@ -48156,7 +48156,7 @@ class Deck extends BaseItem {
48156
48156
  const progress = now % 2000 / 2000;
48157
48157
  const yPos = this.top + this.getHeight() * Math.abs(Math.sin(progress * Math.PI));
48158
48158
  ctx.fillStyle = conf.SELECTION_COLOR;
48159
- ctx.fillRect(this.left + 5, yPos - 2, this.getWidth() - 10, 4);
48159
+ ctx.fillRect(this.left, yPos - 2, this.getWidth(), 4);
48160
48160
  }
48161
48161
  ctx.restore();
48162
48162
  }
package/dist/esm/node.js CHANGED
@@ -50624,7 +50624,7 @@ class Deck extends BaseItem {
50624
50624
  const progress = now % 2000 / 2000;
50625
50625
  const yPos = this.top + this.getHeight() * Math.abs(Math.sin(progress * Math.PI));
50626
50626
  ctx.fillStyle = conf.SELECTION_COLOR;
50627
- ctx.fillRect(this.left + 5, yPos - 2, this.getWidth() - 10, 4);
50627
+ ctx.fillRect(this.left, yPos - 2, this.getWidth(), 4);
50628
50628
  }
50629
50629
  ctx.restore();
50630
50630
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.5.54",
3
+ "version": "0.5.55",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",