XY Input: Checkpoint "+VAE" input_mode Fix

Fixed an issue where adding Checkpoints would not add the VAE option for when input mode was set to "Ckpt Names+ClipSkip+VAE"
This commit is contained in:
TSC
2023-09-05 20:30:59 -05:00
committed by GitHub
parent eb8f8bebff
commit 555002aaff

View File

@@ -173,6 +173,7 @@ function handleVisibility(node, countValue, mode) {
}
} else if (inputModeValue.includes("Names+Weights") || inputModeValue.includes("+ClipSkip")) {
toggleWidget(node, firstWidget, true);
if (inputModeValue.includes("+VAE")){toggleWidget(node, secondWidget, true);}
}
if (!inputModeValue.includes("Names") && mode !== "LoRA Stacker") {
toggleWidget(node, secondWidget, true);