microboard-ui-temp 0.1.84 → 0.1.85
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/dist/index.js +1 -1
- package/dist/spa.js +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -255921,7 +255921,7 @@ class Card extends BaseItem {
|
|
|
255921
255921
|
ctx.translate(centerX, centerY);
|
|
255922
255922
|
ctx.rotate(this.transformation.getRotation() * Math.PI / 180);
|
|
255923
255923
|
if (width2 > height3) {
|
|
255924
|
-
ctx.drawImage(this.imageToRender, -
|
|
255924
|
+
ctx.drawImage(this.imageToRender, -height3 / 2, -width2 / 2, height3, width2);
|
|
255925
255925
|
} else {
|
|
255926
255926
|
ctx.drawImage(this.imageToRender, -width2 / 2, -height3 / 2, width2, height3);
|
|
255927
255927
|
}
|
package/dist/spa.js
CHANGED
|
@@ -255921,7 +255921,7 @@ class Card extends BaseItem {
|
|
|
255921
255921
|
ctx.translate(centerX, centerY);
|
|
255922
255922
|
ctx.rotate(this.transformation.getRotation() * Math.PI / 180);
|
|
255923
255923
|
if (width2 > height3) {
|
|
255924
|
-
ctx.drawImage(this.imageToRender, -
|
|
255924
|
+
ctx.drawImage(this.imageToRender, -height3 / 2, -width2 / 2, height3, width2);
|
|
255925
255925
|
} else {
|
|
255926
255926
|
ctx.drawImage(this.imageToRender, -width2 / 2, -height3 / 2, width2, height3);
|
|
255927
255927
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "microboard-ui-temp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.85",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"i18next-browser-languagedetector": "^8.2.0",
|
|
61
61
|
"js-cookie": "^3.0.5",
|
|
62
62
|
"jwt-decode": "^4.0.0",
|
|
63
|
-
"microboard-temp": "^0.5.
|
|
63
|
+
"microboard-temp": "^0.5.26",
|
|
64
64
|
"nanoid": "^5.1.5",
|
|
65
65
|
"prop-types": "^15.8.1",
|
|
66
66
|
"react-hot-toast": "2.4.1",
|