mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-20 16:27:14 +08:00
let node label field for node panel translation
This commit is contained in:
parent
25b51b1a8b
commit
33896a610d
@ -9133,7 +9133,7 @@ LGraphNode.prototype.executeAction = function(action)
|
|||||||
}
|
}
|
||||||
if (!low_quality) {
|
if (!low_quality) {
|
||||||
ctx.font = this.title_text_font;
|
ctx.font = this.title_text_font;
|
||||||
var title = String(node.getTitle());
|
var title = String(node.label || node.getTitle());
|
||||||
if (title) {
|
if (title) {
|
||||||
if (selected) {
|
if (selected) {
|
||||||
ctx.fillStyle = LiteGraph.NODE_SELECTED_TITLE_COLOR;
|
ctx.fillStyle = LiteGraph.NODE_SELECTED_TITLE_COLOR;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user