fix: 特殊战在缩放后会丢失危险提示

This commit is contained in:
unanmed 2024-11-23 12:05:45 +08:00
parent 6f5755b8cd
commit 05d383f075
3 changed files with 5 additions and 6 deletions

View File

@ -115,7 +115,7 @@ dam4.png ---- 存档 59
[x] 复写 apirewrite()
[x] 对 vnode 进行简单的包装,提供出显示文字、显示图片等 api 以及修改 css 的 api
[] mapDamage 注册
[] Box 组件右下角添加 resize 按钮
[x] Box 组件右下角添加 resize 按钮
[] 被光环加成的怪显示受到了哪些加成
[x] 鼠标放到光环怪上时高亮它产生的光环
[] 删除 unplugin-vue-components 插件,换用 import 引入

View File

@ -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 = {

View File

@ -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();
}
/**