From b2f0287ec4b551a07ef4b171a24c349e0a7f0c8a Mon Sep 17 00:00:00 2001 From: Luis Quesada Date: Sat, 10 May 2025 08:58:13 +0200 Subject: [PATCH] Update widgethider to fix new issue after update --- js/showcontrol.js | 3 +++ pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/js/showcontrol.js b/js/showcontrol.js index b94e2bc..39ef443 100644 --- a/js/showcontrol.js +++ b/js/showcontrol.js @@ -154,6 +154,9 @@ app.registerExtension({ // Store the original descriptor if it exists let originalDescriptor = Object.getOwnPropertyDescriptor(w, 'value') || Object.getOwnPropertyDescriptor(Object.getPrototypeOf(w), 'value'); + if (!originalDescriptor) { + originalDescriptor = Object.getOwnPropertyDescriptor(w.constructor.prototype, 'value'); + } Object.defineProperty(w, 'value', { get() { diff --git a/pyproject.toml b/pyproject.toml index 7379e7f..3eab901 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui-inpaint-cropandstitch" description = "The '✂️ Inpaint Crop' and '✂️ Inpaint Stitch' nodes enable inpainting only on masked area very easily: crop the image around the masked area with the Crop node, then use any standard workflow for sampling, then connect the sampled image to the Stitch node, which will put it back in place in the original image. These nodes enable faster sampling of smaller areas and take care of downsampling and upsampling to fit specific model and resource needs." -version = "2.1.5" +version = "2.1.6" license = { file = "LICENSE" } [project.urls]