@xpadev-net/niconicomments 0.2.1 → 0.2.2
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/bundle.js +2 -2
- package/package.json +1 -1
package/dist/bundle.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
niconicomments.js v0.2.
|
|
2
|
+
niconicomments.js v0.2.2
|
|
3
3
|
(c) 2021 xpadev-net https://xpadev.net
|
|
4
4
|
Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -544,7 +544,7 @@
|
|
|
544
544
|
posX = 1920 - (1920 + comment.width_max) * (vpos - comment.vpos) / 500;
|
|
545
545
|
}
|
|
546
546
|
} else if (comment.loc === "shita") {
|
|
547
|
-
posY =
|
|
547
|
+
posY = 1080 - comment.posY - comment.height;
|
|
548
548
|
}
|
|
549
549
|
|
|
550
550
|
this.context.drawImage(comment.image, posX, posY);
|
package/package.json
CHANGED