mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-08-09 15:55:01 +02:00
pretty and build
This commit is contained in:
@ -29,9 +29,6 @@ export const MenuButton = style({
|
||||
});
|
||||
|
||||
globalStyle(`${MenuButton}> h4`, {
|
||||
color: '#e7ba71',
|
||||
marginTop:"5px !important",
|
||||
|
||||
color: "#e7ba71",
|
||||
marginTop: "5px !important",
|
||||
});
|
||||
|
||||
|
||||
|
@ -1,10 +1,9 @@
|
||||
import React, { useState } from "react";
|
||||
import { useImageCreate } from "../../../../../store/imageCreateStore";
|
||||
|
||||
import { MenuButton }
|
||||
from //@ts-ignore
|
||||
'../advancedsettings.css.ts'
|
||||
|
||||
import {
|
||||
MenuButton, //@ts-ignore
|
||||
} from "../advancedsettings.css.ts";
|
||||
|
||||
export default function GpuSettings() {
|
||||
const turbo = useImageCreate((state) => state.getValueForRequestKey("turbo"));
|
||||
@ -25,11 +24,7 @@ export default function GpuSettings() {
|
||||
|
||||
return (
|
||||
<div>
|
||||
<button
|
||||
type="button"
|
||||
className={MenuButton}
|
||||
onClick={toggleGpuOpen}
|
||||
>
|
||||
<button type="button" className={MenuButton} onClick={toggleGpuOpen}>
|
||||
<h4>GPU Settings</h4>
|
||||
</button>
|
||||
{gpuOpen && (
|
||||
|
@ -1,9 +1,9 @@
|
||||
import React, { useState } from "react";
|
||||
import { useImageCreate } from "../../../../../store/imageCreateStore";
|
||||
|
||||
import { MenuButton }
|
||||
from //@ts-ignore
|
||||
'../advancedsettings.css.ts';
|
||||
import {
|
||||
MenuButton, //@ts-ignore
|
||||
} from "../advancedsettings.css.ts";
|
||||
|
||||
export default function ImprovementSettings() {
|
||||
// these are conditionals that should be retired and inferred from the store
|
||||
|
@ -1,9 +1,9 @@
|
||||
import React, { useState } from "react";
|
||||
import { useImageCreate } from "../../../../../store/imageCreateStore";
|
||||
|
||||
import { MenuButton }
|
||||
from //@ts-ignore
|
||||
'../advancedsettings.css.ts'
|
||||
import {
|
||||
MenuButton, //@ts-ignore
|
||||
} from "../advancedsettings.css.ts";
|
||||
// todo: move this someplace more global
|
||||
const IMAGE_DIMENSIONS = [
|
||||
{ value: 128, label: "128 (*)" },
|
||||
@ -53,11 +53,7 @@ export default function PropertySettings() {
|
||||
|
||||
return (
|
||||
<div>
|
||||
<button
|
||||
type="button"
|
||||
className={MenuButton}
|
||||
onClick={togglePropertyOpen}
|
||||
>
|
||||
<button type="button" className={MenuButton} onClick={togglePropertyOpen}>
|
||||
<h4>Property Settings</h4>
|
||||
</button>
|
||||
{propertyOpen && (
|
||||
|
@ -1,10 +1,9 @@
|
||||
import React, { useState } from "react";
|
||||
import { useImageCreate } from "../../../../../store/imageCreateStore";
|
||||
|
||||
import { MenuButton }
|
||||
from //@ts-ignore
|
||||
'../advancedsettings.css.ts';
|
||||
|
||||
import {
|
||||
MenuButton, //@ts-ignore
|
||||
} from "../advancedsettings.css.ts";
|
||||
|
||||
export default function WorkflowSettings() {
|
||||
const num_outputs = useImageCreate((state) =>
|
||||
@ -32,11 +31,7 @@ export default function WorkflowSettings() {
|
||||
|
||||
return (
|
||||
<div>
|
||||
<button
|
||||
type="button"
|
||||
className={MenuButton}
|
||||
onClick={toggleWorkflowOpen}
|
||||
>
|
||||
<button type="button" className={MenuButton} onClick={toggleWorkflowOpen}>
|
||||
<h4>Workflow Settings</h4>
|
||||
</button>
|
||||
{workflowOpen && (
|
||||
|
@ -103,7 +103,6 @@ export default function DisplayPanel() {
|
||||
<div id="previous-images">
|
||||
{completedImages.map((image, index) => {
|
||||
if (void 0 !== image) {
|
||||
debugger;
|
||||
if (index == 0) {
|
||||
return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user