fix:处理了头像框和聊天框得逻辑
This commit is contained in:
parent
3e43065142
commit
e4815b4246
@ -298,8 +298,6 @@ 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;
|
||||
}
|
||||
@ -386,7 +384,7 @@ export class UserFun {
|
||||
if (conf?.cond?.[0] == 'time') {
|
||||
let val = conf.cond[1];
|
||||
|
||||
if (val == -1 && !gud.headFrames[conf.id]) {
|
||||
if (val == -1) {
|
||||
change = true;
|
||||
gud.headFrames[conf.id] = -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user