Skip to content

Commit

Permalink
Fix opacity setting
Browse files Browse the repository at this point in the history
  • Loading branch information
tanbatu committed Sep 24, 2023
1 parent 88a1193 commit 19ad5d6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion files/setting.html
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@
opacity: 0.5;
padding: 8px;
position: absolute;
">v6.2<br><small>(23/09/21)</small></p>
">v6.3<br><small>(23/09/24)</small></p>
</a>

<div style="padding:14px;display: flex;">
Expand Down
5 changes: 4 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,9 @@ function PLAYCOMMENT() {
aspect = Number(videoElement.videoWidth) / Number(videoElement.videoHeight);
console.log(aspect);

zouryouCanvasElement.style.opacity =
document.getElementById("bar_alpha").value * 0.01;

load_NiconiComments();
document.getElementById("reload_niconicomments").disabled = false;

Expand Down Expand Up @@ -1147,4 +1150,4 @@ const start = setInterval(() => {
clearInterval(start);
}
}, 50);
console.log("✨コメント増量 v6.2\nCopyright (c) 2022 tanbatu.");
console.log("✨コメント増量 v6.3\nCopyright (c) 2022 tanbatu.");
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "コメント増量",
"description": "ニコニコ動画のコメントの表示量を増やす",
"version": "6.2",
"version": "6.3",
"content_scripts": [
{
"matches": [
Expand Down

0 comments on commit 19ad5d6

Please sign in to comment.