@d3p1/img2pxl 3.1.10 → 3.1.12
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/core/index.js
CHANGED
|
@@ -5602,7 +5602,7 @@ class Uo {
|
|
|
5602
5602
|
*/
|
|
5603
5603
|
#i(e) {
|
|
5604
5604
|
const t = e.target;
|
|
5605
|
-
this.coord.x = (e.offsetX / t.
|
|
5605
|
+
this.coord.x = (e.offsetX / t.clientWidth - 0.5) * 2, this.coord.y = -(e.offsetY / t.clientHeight - 0.5) * 2;
|
|
5606
5606
|
}
|
|
5607
5607
|
/**
|
|
5608
5608
|
* Process pointer leave
|
|
@@ -6237,4 +6237,4 @@ class Do {
|
|
|
6237
6237
|
export {
|
|
6238
6238
|
Do as M
|
|
6239
6239
|
};
|
|
6240
|
-
//# sourceMappingURL=main-
|
|
6240
|
+
//# sourceMappingURL=main-C6W_5yDn.js.map
|