From 0ba50d3af53fbd2464dde2a27400fab72a528ad0 Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Mon, 4 Nov 2024 20:09:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=8B=E9=9B=A8=E7=9A=84=E7=BA=B9?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- idea.md | 3 ++- src/module/weather/rain.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/idea.md b/idea.md index 93c674b..249a5a7 100644 --- a/idea.md +++ b/idea.md @@ -70,7 +70,7 @@ dam4.png ---- 存档 59 [x] 怪物死亡特效 [] 区域名称显示特效,3D 粒子特效 [x] 单独的工具栏,可以自定义按键 -[] 完全 ts 化 +[x] 完全 ts 化 [] 平行光(待定) [] 视角控制系统 [x] 重构设置界面 @@ -118,3 +118,4 @@ dam4.png ---- 存档 59 [] Box 组件右下角添加 resize 按钮 [] 被光环加成的怪显示受到了哪些加成 [x] 鼠标放到光环怪上时高亮它产生的光环 +[] 删除 unplugin-vue-components 插件,换用 import 引入 diff --git a/src/module/weather/rain.ts b/src/module/weather/rain.ts index cd64227..44b02f4 100644 --- a/src/module/weather/rain.ts +++ b/src/module/weather/rain.ts @@ -234,7 +234,7 @@ class RainShader extends Shader { this.draw(gl, back, param, back.usingIndices); this.useProgram(rain); - this.draw(gl, rain, rainParam, null); + if (this.defaultReady()) this.draw(gl, rain, rainParam, null); return false; }