( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ HEX
HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux mail.thebrand.ai 6.8.0-107-generic #107-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 13 19:51:50 UTC 2026 x86_64
User: www-data (33)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/html/tmpr/../tmpr/../tmpr/../tmpr/../tmpr/..//editorMe/src/ui/overlay-panel-container.tsx
import React from 'react';
import {AnimatePresence} from 'framer-motion';
import {useStore} from '../state/store';
import {HistoryPanel} from '../tools/history/ui/history-panel';
import {NewImageDialogTrigger} from './new-image-dialog';
import {ExportDialogTrigger} from '../tools/export/export-dialog-trigger';
import {ObjListPanel} from '../objects/ui/obj-list-panel';

export function OverlayPanelContainer() {
  const historyVisible = useStore(s => s.openPanels.history);
  const objectsVisible = useStore(s => s.openPanels.objects);
  return (
    <div className="z-modal">
      <AnimatePresence>
        {historyVisible && <HistoryPanel key="historyPanel" />}
        {objectsVisible && <ObjListPanel key="objListPanel" />}
      </AnimatePresence>
      <NewImageDialogTrigger />
      <ExportDialogTrigger />
    </div>
  );
}