fix styling

This commit is contained in:
BennyKok
2023-09-27 17:45:32 +08:00
parent 6854f9b59b
commit 85b2de6303
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -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(),
+1 -1
View File
@@ -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
View File
@@ -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
View File
File diff suppressed because one or more lines are too long