mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-01-19 04:19:30 +08:00
fix: 特殊战在缩放后会丢失危险提示
This commit is contained in:
parent
6f5755b8cd
commit
05d383f075
2
idea.md
2
idea.md
@ -115,7 +115,7 @@ dam4.png ---- 存档 59
|
||||
[x] 复写 api,rewrite()
|
||||
[x] 对 vnode 进行简单的包装,提供出显示文字、显示图片等 api 以及修改 css 的 api
|
||||
[] mapDamage 注册
|
||||
[] Box 组件右下角添加 resize 按钮
|
||||
[x] Box 组件右下角添加 resize 按钮
|
||||
[] 被光环加成的怪显示受到了哪些加成
|
||||
[x] 鼠标放到光环怪上时高亮它产生的光环
|
||||
[] 删除 unplugin-vue-components 插件,换用 import 引入
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user