fix styling
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ const { button, iframe, div, img } = van.tags;
|
||||
export function Container() {
|
||||
return div(
|
||||
{
|
||||
class: 'fixed left-0 top-0 w-full h-full z-[200] pointer-events-none',
|
||||
class: 'fixed left-0 top-0 w-full h-full z-[1000] pointer-events-none',
|
||||
id: 'avatech-editor',
|
||||
},
|
||||
ShapeFlowEditor(),
|
||||
|
||||
@@ -10,7 +10,7 @@ export function ShapeFlowEditor() {
|
||||
button(
|
||||
{
|
||||
class: () =>
|
||||
"btn btn-circle flex flex-row btn-ghost normal-case absolute px-2 rounded-md left-0 top-0 z-[200] w-fit pointer-events-auto bg-black " +
|
||||
"ml-2 mt-2 btn btn-circle flex flex-row btn-ghost normal-case absolute px-4 rounded-md left-0 top-0 z-[200] w-fit pointer-events-auto bg-black " +
|
||||
(showEditor.val ? "" : "hidden"),
|
||||
onclick: () => {
|
||||
console.log("close");
|
||||
|
||||
+5
-5
@@ -336,11 +336,11 @@ const ext = {
|
||||
BLENDSHAPES_CONFIG(node, inputName, inputData, app) {
|
||||
const btn = node.addWidget("button", "Edit Shape Flow", "", () => {
|
||||
targetNode.val = node;
|
||||
openInAvatechEditor(
|
||||
"https://editor.avatech.ai?comfyui=true",
|
||||
fileName.val
|
||||
);
|
||||
// openInAvatechEditor("http://localhost:3006?comfyui=true", fileName.val);
|
||||
// openInAvatechEditor(
|
||||
// "https://editor.avatech.ai?comfyui=true",
|
||||
// fileName.val
|
||||
// );
|
||||
openInAvatechEditor("http://localhost:3006?comfyui=true", fileName.val);
|
||||
});
|
||||
btn.serialize = false;
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user