@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.
Files changed (2) hide show
  1. package/dist/bundle.js +2 -2
  2. package/package.json +1 -1
package/dist/bundle.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- niconicomments.js v0.2.1
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 = comment.posY = 1080 - comment.posY - comment.height;
547
+ posY = 1080 - comment.posY - comment.height;
548
548
  }
549
549
 
550
550
  this.context.drawImage(comment.image, posX, posY);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xpadev-net/niconicomments",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "NiconiComments is a comment drawing library that is somewhat compatible with the official Nico Nico Douga player.",
5
5
  "main": "dist/bundle.js",
6
6
  "scripts": {