Fix uploaded image not forcing re-render (#3115)

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Christian Byrne
2025-03-17 17:13:05 -07:00
committed by GitHub
parent da415e9d80
commit 26a7ebdd77
6 changed files with 105 additions and 10 deletions

View File

@@ -93,6 +93,7 @@ export const useImageUploadWidget = () => {
// Add our own callback to the combo widget to render an image when it changes
fileComboWidget.callback = function () {
nodeOutputStore.setNodeOutputs(node, fileComboWidget.value)
node.graph?.setDirtyCanvas(true)
}
// On load if we have a value then render the image