mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-17 02:12:58 +08:00
bugfix: missing badges for some small nodes
- now use NO_TITLE instead of height.
This commit is contained in:
parent
604a5d7574
commit
1c1139a430
@ -55,7 +55,7 @@ sys.path.append('../..')
|
|||||||
from torchvision.datasets.utils import download_url
|
from torchvision.datasets.utils import download_url
|
||||||
|
|
||||||
# ensure .js
|
# ensure .js
|
||||||
print("### Loading: ComfyUI-Manager (V0.29)")
|
print("### Loading: ComfyUI-Manager (V0.29.1)")
|
||||||
|
|
||||||
comfy_ui_required_revision = 1240
|
comfy_ui_required_revision = 1240
|
||||||
comfy_ui_revision = "Unknown"
|
comfy_ui_revision = "Unknown"
|
||||||
|
|||||||
@ -1550,6 +1550,8 @@
|
|||||||
"Prompt With Style",
|
"Prompt With Style",
|
||||||
"Prompt With Style V2",
|
"Prompt With Style V2",
|
||||||
"Prompt With Style V3",
|
"Prompt With Style V3",
|
||||||
|
"Range Float",
|
||||||
|
"Range Integer",
|
||||||
"Ratio Advanced",
|
"Ratio Advanced",
|
||||||
"Resize Image for SDXL",
|
"Resize Image for SDXL",
|
||||||
"Save Image If True",
|
"Save Image If True",
|
||||||
@ -2735,6 +2737,7 @@
|
|||||||
[
|
[
|
||||||
"AV_CheckpointModelsToParametersPipe",
|
"AV_CheckpointModelsToParametersPipe",
|
||||||
"AV_ControlNetEfficientLoader",
|
"AV_ControlNetEfficientLoader",
|
||||||
|
"AV_ControlNetEfficientLoaderAdvanced",
|
||||||
"AV_ControlNetEfficientStacker",
|
"AV_ControlNetEfficientStacker",
|
||||||
"AV_ControlNetLoader",
|
"AV_ControlNetLoader",
|
||||||
"AV_ControlNetPreprocessor",
|
"AV_ControlNetPreprocessor",
|
||||||
@ -2989,7 +2992,9 @@
|
|||||||
],
|
],
|
||||||
"https://github.com/tusharbhutt/Endless-Nodes": [
|
"https://github.com/tusharbhutt/Endless-Nodes": [
|
||||||
[
|
[
|
||||||
"Endless Nodes Parameteriizer",
|
"Endless Nodes Combo Parameterizer",
|
||||||
|
"Endless Nodes Combo Parameterizer & Prompts",
|
||||||
|
"Endless Nodes Parameterizer",
|
||||||
"Endless Nodes Parameterizer & Prompts",
|
"Endless Nodes Parameterizer & Prompts",
|
||||||
"Endless Nodes Six Input Text Switch",
|
"Endless Nodes Six Input Text Switch",
|
||||||
"Endless Nodes Six Integer IO Switch",
|
"Endless Nodes Six Integer IO Switch",
|
||||||
|
|||||||
@ -2002,7 +2002,7 @@ app.registerExtension({
|
|||||||
nodeType.prototype.onDrawForeground = function (ctx) {
|
nodeType.prototype.onDrawForeground = function (ctx) {
|
||||||
const r = onDrawForeground?.apply?.(this, arguments);
|
const r = onDrawForeground?.apply?.(this, arguments);
|
||||||
|
|
||||||
if(!this.flags.collapsed && badge_mode != 'none' && this.size[1] > LiteGraph.NODE_TITLE_HEIGHT) {
|
if(!this.flags.collapsed && badge_mode != 'none' && nodeType.title_mode != LiteGraph.NO_TITLE) {
|
||||||
let text = "";
|
let text = "";
|
||||||
if(badge_mode == 'id_nick')
|
if(badge_mode == 'id_nick')
|
||||||
text = `#${this.id} `;
|
text = `#${this.id} `;
|
||||||
|
|||||||
@ -1550,6 +1550,8 @@
|
|||||||
"Prompt With Style",
|
"Prompt With Style",
|
||||||
"Prompt With Style V2",
|
"Prompt With Style V2",
|
||||||
"Prompt With Style V3",
|
"Prompt With Style V3",
|
||||||
|
"Range Float",
|
||||||
|
"Range Integer",
|
||||||
"Ratio Advanced",
|
"Ratio Advanced",
|
||||||
"Resize Image for SDXL",
|
"Resize Image for SDXL",
|
||||||
"Save Image If True",
|
"Save Image If True",
|
||||||
@ -2735,6 +2737,7 @@
|
|||||||
[
|
[
|
||||||
"AV_CheckpointModelsToParametersPipe",
|
"AV_CheckpointModelsToParametersPipe",
|
||||||
"AV_ControlNetEfficientLoader",
|
"AV_ControlNetEfficientLoader",
|
||||||
|
"AV_ControlNetEfficientLoaderAdvanced",
|
||||||
"AV_ControlNetEfficientStacker",
|
"AV_ControlNetEfficientStacker",
|
||||||
"AV_ControlNetLoader",
|
"AV_ControlNetLoader",
|
||||||
"AV_ControlNetPreprocessor",
|
"AV_ControlNetPreprocessor",
|
||||||
@ -2989,7 +2992,9 @@
|
|||||||
],
|
],
|
||||||
"https://github.com/tusharbhutt/Endless-Nodes": [
|
"https://github.com/tusharbhutt/Endless-Nodes": [
|
||||||
[
|
[
|
||||||
"Endless Nodes Parameteriizer",
|
"Endless Nodes Combo Parameterizer",
|
||||||
|
"Endless Nodes Combo Parameterizer & Prompts",
|
||||||
|
"Endless Nodes Parameterizer",
|
||||||
"Endless Nodes Parameterizer & Prompts",
|
"Endless Nodes Parameterizer & Prompts",
|
||||||
"Endless Nodes Six Input Text Switch",
|
"Endless Nodes Six Input Text Switch",
|
||||||
"Endless Nodes Six Integer IO Switch",
|
"Endless Nodes Six Integer IO Switch",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user