mirror of
https://git.datalinker.icu/ltdrdata/ComfyUI-Manager
synced 2025-12-09 14:14:54 +08:00
update badge
This commit is contained in:
parent
ac9d761fb6
commit
5cfa207530
@ -1560,7 +1560,7 @@ app.registerExtension({
|
||||
|
||||
if(badge_mode != 'none') {
|
||||
let text = nicknames[nodeData.name.trim()];
|
||||
if(text.length > 18) {
|
||||
if(text.length > 20) {
|
||||
text = text.substring(0,17)+"..";
|
||||
}
|
||||
|
||||
@ -1599,7 +1599,7 @@ app.registerExtension({
|
||||
if(badge_mode != 'none') {
|
||||
let text = nicknames[node.type.trim()];
|
||||
|
||||
if(text.length > 18) {
|
||||
if(text.length > 20) {
|
||||
text = text.substring(0,17)+"..";
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user