@xpadev-net/niconicomments 0.0.10 → 0.0.11

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 +1 -1
  2. package/package.json +5 -4
package/dist/bundle.js CHANGED
@@ -429,7 +429,7 @@
429
429
 
430
430
  if (comment.loc === "naka") {
431
431
  if (reverse) {
432
- posX = (1920 + comment.width_max) * (vpos - comment.vpos) / 500;
432
+ posX = (1920 + comment.width_max) * (vpos - comment.vpos) / 500 - comment.width_max;
433
433
  } else {
434
434
  posX = 1920 - (1920 + comment.width_max) * (vpos - comment.vpos) / 500;
435
435
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xpadev-net/niconicomments",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
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": {
@@ -25,8 +25,9 @@
25
25
  "homepage": "https://xpadev.net/niconicomments/docs/",
26
26
  "license": "MIT",
27
27
  "devDependencies": {
28
- "babel-preset-es2015-rollup": "^3.0.0",
29
- "rollup": "^2.60.2",
30
- "rollup-plugin-babel": "^4.4.0"
28
+ "rollup": "^2.61.1"
29
+ },
30
+ "dependencies": {
31
+ "@rollup/plugin-babel": "^5.3.0"
31
32
  }
32
33
  }