fix
This commit is contained in:
+2
-3
@@ -35,15 +35,14 @@ export function SideBar() {
|
||||
const layers = Object.entries(imagePromptsMulti.val);
|
||||
return ul(
|
||||
{
|
||||
class: "menu bg-base-200 w-56 rounded-box text-base-content",
|
||||
class: "menu bg-base-200 w-56 rounded-box text-base-content ",
|
||||
},
|
||||
layers.length === 0 ? li(a("Empty layer")) : null,
|
||||
...layers.map(([key, value]) => {
|
||||
return li(
|
||||
a(
|
||||
{
|
||||
class: () =>
|
||||
`capitalize text-start items-start flex items-center justify-between ${
|
||||
class: () => `normal-case text-start items-start flex items-center justify-between ${
|
||||
selectedLayer.val === key ? "active" : ""
|
||||
}`,
|
||||
onclick: () => {
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
@@ -11,9 +11,9 @@ class SAM_Predict:
|
||||
"image": ("IMAGE",),
|
||||
"embeddings": ("EMBEDDINGS",),
|
||||
"predictor": ("SAMPREDICTOR",),
|
||||
"prompt": ("SAM_PROMPT", )
|
||||
},
|
||||
"optional": {
|
||||
"prompt": ("SAM_PROMPT", ),
|
||||
"mask": ("IMAGE",),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user