@uiwwsw/virtual-keyboard 0.5.4 → 0.5.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.
Files changed (2) hide show
  1. package/dist/index.js +0 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -678,7 +678,6 @@ function VirtualInput({
678
678
  }
679
679
  ctx.fillStyle = color;
680
680
  if (charPositionsRef.current.length !== internalValue.length + 1) {
681
- let currentX = x;
682
681
  const positions = [x];
683
682
  for (let i = 0;i < internalValue.length; i++) {
684
683
  const w = ctx.measureText(internalValue.slice(0, i + 1)).width;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uiwwsw/virtual-keyboard",
3
- "version": "0.5.4",
3
+ "version": "0.5.5",
4
4
  "type": "module",
5
5
  "types": "dist/types/index.d.ts",
6
6
  "main": "dist/index.js",