mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-02 17:44:31 +08:00
fix: 特殊战在缩放后会丢失危险提示
This commit is contained in:
1 parent
6f5755b8cd
commit
05d383f075
3 files changed
+5
-6
No files matched your search
@@ -882,11 +882,6 @@ export class Shadow {
|
||||
|
||||
// canvas
|
||||
const canvas = this.canvas;
|
||||
canvas.id = `shadow`;
|
||||
canvas.style.display = 'block';
|
||||
canvas.style.position = 'absolute';
|
||||
canvas.style.pointerEvents = 'none';
|
||||
canvas.style.zIndex = Z_INDEX.toString();
|
||||
|
||||
// Locations
|
||||
this.locations = {
|
||||
|
||||
@@ -154,6 +154,8 @@ export class ArrowProjectile extends Projectile<TowerBoss> {
|
||||
for (let i = 0; i < 15; i++) {
|
||||
ctxVer.fillRect(2, i * 32 + 2, 28, 28);
|
||||
}
|
||||
hor.freeze();
|
||||
ver.freeze();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -643,6 +645,8 @@ export class ThunderBallProjectile extends Projectile<TowerBoss> {
|
||||
for (let i = 0; i < 15; i++) {
|
||||
ctxVer.fillRect(2, i * 32 + 2, 28, 28);
|
||||
}
|
||||
hor.freeze();
|
||||
ver.freeze();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user