mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
Revert "fix(ui): panel names on video tab"
This reverts commit 64dfa125d2.
This commit is contained in:
@@ -7,8 +7,7 @@ import { FloatingRightPanelButtons } from 'features/ui/components/FloatingRightP
|
||||
import type {
|
||||
AutoLayoutDockviewComponents,
|
||||
AutoLayoutGridviewComponents,
|
||||
DockviewPanelParameters,
|
||||
GridviewPanelParameters,
|
||||
PanelParameters,
|
||||
RootLayoutGridviewComponents,
|
||||
} from 'features/ui/layouts/auto-layout-context';
|
||||
import { AutoLayoutProvider, useAutoLayoutContext, withPanelContainer } from 'features/ui/layouts/auto-layout-context';
|
||||
@@ -58,7 +57,7 @@ const mainPanelComponents: AutoLayoutDockviewComponents = {
|
||||
|
||||
const initializeMainPanelLayout = (tab: TabName, api: DockviewApi) => {
|
||||
navigationApi.registerContainer(tab, 'main', api, () => {
|
||||
const launchpad = api.addPanel<DockviewPanelParameters>({
|
||||
const launchpad = api.addPanel<PanelParameters>({
|
||||
id: LAUNCHPAD_PANEL_ID,
|
||||
component: LAUNCHPAD_PANEL_ID,
|
||||
title: t('ui.panels.launchpad'),
|
||||
@@ -66,11 +65,10 @@ const initializeMainPanelLayout = (tab: TabName, api: DockviewApi) => {
|
||||
params: {
|
||||
tab,
|
||||
focusRegion: 'launchpad',
|
||||
i18nKey: 'ui.panels.launchpad'
|
||||
},
|
||||
});
|
||||
|
||||
api.addPanel<DockviewPanelParameters>({
|
||||
api.addPanel<PanelParameters>({
|
||||
id: VIEWER_PANEL_ID,
|
||||
component: VIEWER_PANEL_ID,
|
||||
title: t('ui.panels.imageViewer'),
|
||||
@@ -78,7 +76,6 @@ const initializeMainPanelLayout = (tab: TabName, api: DockviewApi) => {
|
||||
params: {
|
||||
tab,
|
||||
focusRegion: 'viewer',
|
||||
i18nKey: 'ui.panels.imageViewer'
|
||||
},
|
||||
position: {
|
||||
direction: 'within',
|
||||
@@ -126,7 +123,7 @@ const rightPanelComponents: AutoLayoutGridviewComponents = {
|
||||
|
||||
const initializeRightPanelLayout = (tab: TabName, api: GridviewApi) => {
|
||||
navigationApi.registerContainer(tab, 'right', api, () => {
|
||||
const gallery = api.addPanel<GridviewPanelParameters>({
|
||||
const gallery = api.addPanel<PanelParameters>({
|
||||
id: GALLERY_PANEL_ID,
|
||||
component: GALLERY_PANEL_ID,
|
||||
minimumWidth: RIGHT_PANEL_MIN_SIZE_PX,
|
||||
@@ -137,7 +134,7 @@ const initializeRightPanelLayout = (tab: TabName, api: GridviewApi) => {
|
||||
},
|
||||
});
|
||||
|
||||
const boards = api.addPanel<GridviewPanelParameters>({
|
||||
const boards = api.addPanel<PanelParameters>({
|
||||
id: BOARDS_PANEL_ID,
|
||||
component: BOARDS_PANEL_ID,
|
||||
minimumHeight: BOARD_PANEL_MIN_HEIGHT_PX,
|
||||
@@ -182,7 +179,7 @@ const leftPanelComponents: AutoLayoutGridviewComponents = {
|
||||
|
||||
const initializeLeftPanelLayout = (tab: TabName, api: GridviewApi) => {
|
||||
navigationApi.registerContainer(tab, 'left', api, () => {
|
||||
api.addPanel<GridviewPanelParameters>({
|
||||
api.addPanel<PanelParameters>({
|
||||
id: SETTINGS_PANEL_ID,
|
||||
component: SETTINGS_PANEL_ID,
|
||||
params: {
|
||||
|
||||
Reference in New Issue
Block a user