Compare commits

...

2 Commits

Author SHA1 Message Date
yushunrui
369e654772 fix:处理了头像框和聊天框得逻辑 2024-01-11 18:12:47 +08:00
yushunrui
3d7644dce4 fix:头像框 聊天框,造型逻辑修改 2024-01-11 18:12:46 +08:00

View File

@ -297,12 +297,9 @@ export class UserFun {
if (val == -1 && !gud.headFrames[conf.id]) {
change = true;
gud.headFrames[conf.id] = -1;
} else if (!gud.headFrames[conf.id] || gud.headFrames[conf.id] < G.time) {
} else if (val > 0 && gud.headFrames[conf.id] != -1) {
change = true;
gud.headFrames[conf.id] = G.time + val * v;
} else {
change = true;
gud.headFrames[conf.id] += val * v;
}
}
}
@ -344,12 +341,9 @@ export class UserFun {
if (val == -1 && !gud.chatFrames[conf.id]) {
change = true;
gud.chatFrames[conf.id] = -1;
} else if (!gud.chatFrames[conf.id] || gud.chatFrames[conf.id] < G.time) {
} else if (val > 0 && gud.chatFrames[conf.id] != -1) {
change = true;
gud.chatFrames[conf.id] = G.time + val * v;
} else {
change = true;
gud.chatFrames[conf.id] += val * v;
}
}
}