Revert "fix:处理了头像框和聊天框得逻辑"

This reverts commit e4815b4246.
This commit is contained in:
xichaoyin 2024-01-12 15:10:54 +08:00
parent 6d184b20ab
commit 4c4e1d20dc

View File

@ -298,6 +298,8 @@ export class UserFun {
change = true;
gud.headFrames[conf.id] = -1;
} else if (val > 0 && gud.headFrames[conf.id] != -1) {
}
else if (val >= 0) {
change = true;
gud.headFrames[conf.id] = G.time + val * v;
}
@ -384,7 +386,7 @@ export class UserFun {
if (conf?.cond?.[0] == 'time') {
let val = conf.cond[1];
if (val == -1) {
if (val == -1 && !gud.headFrames[conf.id]) {
change = true;
gud.headFrames[conf.id] = -1;
}