@xpadev-net/niconicomments 0.2.74 → 0.2.75
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 +6 -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.75
|
|
3
3
|
(c) 2021 xpadev-net https://xpadev.net
|
|
4
4
|
Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -2063,9 +2063,12 @@
|
|
|
2063
2063
|
const options = RegExp(/\s*((?:sm|so|nm|\uff53\uff4d|\uff53\uff4f|\uff4e\uff4d)?[1-9\uff11-\uff19][0-9\uff11-\uff19]*|#[0-9]+:[0-9]+(?:\.[0-9]+)?)\s+(.*)/).exec(input);
|
|
2064
2064
|
if (!options?.[1])
|
|
2065
2065
|
return;
|
|
2066
|
+
const end = commands.long === undefined
|
|
2067
|
+
? undefined
|
|
2068
|
+
: commands.long * 100 + comment.vpos;
|
|
2066
2069
|
nicoScripts.jump.unshift({
|
|
2067
2070
|
start: comment.vpos,
|
|
2068
|
-
end
|
|
2071
|
+
end,
|
|
2069
2072
|
to: options[1],
|
|
2070
2073
|
message: options[2],
|
|
2071
2074
|
});
|
|
@@ -4629,6 +4632,7 @@
|
|
|
4629
4632
|
this.context = context;
|
|
4630
4633
|
this.context.textAlign = "start";
|
|
4631
4634
|
this.context.textBaseline = "alphabetic";
|
|
4635
|
+
this.context.lineJoin = "round";
|
|
4632
4636
|
this.video = video;
|
|
4633
4637
|
}
|
|
4634
4638
|
drawVideo(enableLegacyPip) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xpadev-net/niconicomments",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.75",
|
|
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
|
"types": "dist/bundle.d.ts",
|