mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
feat(ui): rework add node select
- `space` and `/` open floating add node select - improved filter logic (partial word matches)
This commit is contained in:
@@ -9,6 +9,7 @@ import 'reactflow/dist/style.css';
|
||||
import NodeEditorPanelGroup from './sidePanel/NodeEditorPanelGroup';
|
||||
import { Flow } from './flow/Flow';
|
||||
import { AnimatePresence, motion } from 'framer-motion';
|
||||
import AddNodePopover from './flow/AddNodePopover/AddNodePopover';
|
||||
|
||||
const NodeEditor = () => {
|
||||
const [isPanelCollapsed, setIsPanelCollapsed] = useState(false);
|
||||
@@ -57,9 +58,10 @@ const NodeEditor = () => {
|
||||
opacity: 0,
|
||||
transition: { duration: 0.2 },
|
||||
}}
|
||||
style={{ width: '100%', height: '100%' }}
|
||||
style={{ position: 'relative', width: '100%', height: '100%' }}
|
||||
>
|
||||
<Flow />
|
||||
<AddNodePopover />
|
||||
</motion.div>
|
||||
)}
|
||||
</AnimatePresence>
|
||||
|
||||
Reference in New Issue
Block a user