Skip to content

Commit

Permalink
remove meaningless codes
Browse files Browse the repository at this point in the history
  • Loading branch information
xpadev-net committed Jun 10, 2022
1 parent d06f21a commit 1e7a49e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ class NiconiComments {
break;
}
}
if (left_pos <= 40 && !is_break) {
if (left_pos <= 40) {
for (let k in this.collision_left[vpos]) {
let l = this.collision_left[vpos][k];
if ((posY < data[l]!.posY + data[l]!.height && posY + comment.height > data[l]!.posY) && data[l]!.owner === comment.owner) {
Expand All @@ -421,9 +421,6 @@ class NiconiComments {
break;
}
}
if (is_break) {
break;
}
}
if (is_break) {
break;
Expand Down

0 comments on commit 1e7a49e

Please sign in to comment.