diff --git a/idea.md b/idea.md index 249a5a7..ea16ab5 100644 --- a/idea.md +++ b/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 引入 diff --git a/src/core/fx/shadow.ts b/src/core/fx/shadow.ts index fb1ed7a..38d7311 100644 --- a/src/core/fx/shadow.ts +++ b/src/core/fx/shadow.ts @@ -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 = { diff --git a/src/plugin/boss/towerBossProjectile.ts b/src/plugin/boss/towerBossProjectile.ts index da3a325..be124ca 100644 --- a/src/plugin/boss/towerBossProjectile.ts +++ b/src/plugin/boss/towerBossProjectile.ts @@ -154,6 +154,8 @@ export class ArrowProjectile extends Projectile { 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 { for (let i = 0; i < 15; i++) { ctxVer.fillRect(2, i * 32 + 2, 28, 28); } + hor.freeze(); + ver.freeze(); } /**