Spaces:
Running
Running
Update index.html
Browse files- index.html +5 -2
index.html
CHANGED
@@ -652,12 +652,15 @@
|
|
652 |
|
653 |
// 거리에 따른 위협 레벨
|
654 |
if (distance < 2000) {
|
|
|
655 |
threat.classList.add('missile-lock');
|
656 |
-
threat.textContent = '
|
657 |
} else if (distance < 5000) {
|
|
|
658 |
threat.textContent = '◆';
|
659 |
} else {
|
660 |
-
threat.
|
|
|
661 |
}
|
662 |
|
663 |
threat.style.left = `${x}px`;
|
|
|
652 |
|
653 |
// 거리에 따른 위협 레벨
|
654 |
if (distance < 2000) {
|
655 |
+
threat.classList.add('level-high');
|
656 |
threat.classList.add('missile-lock');
|
657 |
+
threat.textContent = '◆';
|
658 |
} else if (distance < 5000) {
|
659 |
+
threat.classList.add('level-medium');
|
660 |
threat.textContent = '◆';
|
661 |
} else {
|
662 |
+
threat.classList.add('level-low');
|
663 |
+
threat.textContent = '◆';
|
664 |
}
|
665 |
|
666 |
threat.style.left = `${x}px`;
|