Minor change to settings.
This commit is contained in:
@@ -3819,8 +3819,8 @@ class SettingsView {
|
|||||||
this.elements.saveButton = saveButton;
|
this.elements.saveButton = saveButton;
|
||||||
|
|
||||||
const correctPreviewsButton = new ComfyButton({
|
const correctPreviewsButton = new ComfyButton({
|
||||||
content: "Fix Preview Extensions",
|
content: "Fix Extensions",
|
||||||
tooltip: "Correct image extensions in all model directories",
|
tooltip: "Correct image file extensions in all model directories",
|
||||||
action: async(e) => {
|
action: async(e) => {
|
||||||
const [button, icon, span] = comfyButtonDisambiguate(e.target);
|
const [button, icon, span] = comfyButtonDisambiguate(e.target);
|
||||||
button.disabled = true;
|
button.disabled = true;
|
||||||
@@ -3961,6 +3961,10 @@ class SettingsView {
|
|||||||
step: 0.05,
|
step: 0.05,
|
||||||
}),
|
}),
|
||||||
*/
|
*/
|
||||||
|
$el("h2", ["Model Preview Images"]),
|
||||||
|
$el("div", [
|
||||||
|
correctPreviewsButton,
|
||||||
|
]),
|
||||||
$el("h2", ["Random Tag Generator"]),
|
$el("h2", ["Random Tag Generator"]),
|
||||||
$select({
|
$select({
|
||||||
$: (el) => (settings["tag-generator-sampler-method"] = el),
|
$: (el) => (settings["tag-generator-sampler-method"] = el),
|
||||||
@@ -3987,10 +3991,6 @@ class SettingsView {
|
|||||||
min: 1,
|
min: 1,
|
||||||
}),
|
}),
|
||||||
]),
|
]),
|
||||||
$el("h2", ["Preview"]),
|
|
||||||
$el("div", [
|
|
||||||
correctPreviewsButton,
|
|
||||||
]),
|
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user