diff --git a/maxedoutnodes.py b/maxedoutnodes.py index ee300ff..feb2d2d 100644 --- a/maxedoutnodes.py +++ b/maxedoutnodes.py @@ -15,7 +15,7 @@ class FluxEmptyLatentImage: the resolution in the "Empty Latent Image" node. """ TITLE = "Flux Empty Latent Image" - CATEGORY = "KJNodes/Latent" + CATEGORY = "MXD/Latent" RESOLUTIONS = { "— High Resolutions —": None, @@ -93,7 +93,7 @@ class SdxlEmptyLatentImage: the resolution in the "Empty Latent Image" node. """ TITLE = "Sdxl Empty Latent Image (With Resolutions)" - CATEGORY = "KJNodes/Latent" + CATEGORY = "MXD/Latent" # SDXL predefined resolutions (width, height) RESOLUTIONS = { @@ -190,7 +190,7 @@ class ImageScaleToTotalPixelsSafe: RETURN_TYPES = ("IMAGE",) FUNCTION = "upscale" - CATEGORY = "KJNodes/Upscaling" + CATEGORY = "MXD/Upscaling" def upscale(self, image, upscale_method, total_megapixels): b, h, w, c = image.shape @@ -267,7 +267,7 @@ class FluxImageScaleToTotalPixelsSafe: RETURN_TYPES = ("IMAGE",) FUNCTION = "upscale" - CATEGORY = "KJNodes/Upscaling" + CATEGORY = "MXD/Upscaling" def upscale(self, image, upscale_method, total_megapixels): b, h, w, c = image.shape @@ -309,7 +309,7 @@ class PromptWithGuidance(ComfyNodeABC): RETURN_TYPES = (IO.CONDITIONING,) FUNCTION = "encode_and_guide" - CATEGORY = "KJNodes/conditioning" + CATEGORY = "MXD/conditioning" def encode_and_guide(self, text, clip, guidance): if clip is None: @@ -330,7 +330,7 @@ class FluxResolutionMatcher: """ # --- ComfyUI Setup --- TITLE = "Flux Resolution Matcher" - CATEGORY = "KJNodes/Latent" + CATEGORY = "MXD/Latent" DESCRIPTION = "Takes an image and finds the closest resolution for Flux Empty Latent." FUNCTION = "match_resolution" diff --git a/web/js/help_popup.js b/web/js/help_popup.js index ff9056f..28266f2 100644 --- a/web/js/help_popup.js +++ b/web/js/help_popup.js @@ -45,12 +45,12 @@ loadScript('/kjweb_async/purify.min.js').catch((e) => { console.log(e) }) -const categories = ["KJNodes", "SUPIR", "VoiceCraft", "Marigold", "IC-Light", "WanVideoWrapper"]; +const categories = ["MXD", "SUPIR", "VoiceCraft", "Marigold", "IC-Light", "WanVideoWrapper"]; app.registerExtension({ - name: "KJNodes.HelpPopup", + name: "MXD.HelpPopup", async beforeRegisterNodeDef(nodeType, nodeData) { - if (app.ui.settings.getSettingValue("KJNodes.helpPopup") === false) { + if (app.ui.settings.getSettingValue("MXD.helpPopup") === false) { return; } try { @@ -61,7 +61,7 @@ app.registerExtension({ else return }); } catch (error) { - console.error("Error in registering KJNodes.HelpPopup", error); + console.error("Error in registering MXD.HelpPopup", error); } }, }); diff --git a/web/js/jsnodes.js b/web/js/jsnodes.js index 566a5d9..a1527ee 100644 --- a/web/js/jsnodes.js +++ b/web/js/jsnodes.js @@ -2,9 +2,9 @@ import { app } from "../../../scripts/app.js"; import { applyTextReplacements } from "../../../scripts/utils.js"; app.registerExtension({ - name: "KJNodes.jsnodes", + name: "MXD.jsnodes", async beforeRegisterNodeDef(nodeType, nodeData, app) { - if(!nodeData?.category?.startsWith("KJNodes")) { + if(!nodeData?.category?.startsWith("MXD")) { return; } switch (nodeData.name) {