Add option to disable thumbnail display (#36)

This commit is contained in:
Chenlei Hu
2024-02-04 03:30:30 +00:00
committed by GitHub
parent 1ed747d5f9
commit 83277b15f4
2 changed files with 3 additions and 6 deletions

View File

@@ -260,6 +260,7 @@
* and mask on the accordion header.
*/
updateInputImageThumbnail() {
if (!opts.controlnet_input_thumbnail) return;
if (this.tabOpen) {
this.removeThumbnail();
} else {