diff --git a/src/renderer/App.tsx b/src/renderer/App.tsx index 564fbc7..975dab8 100644 --- a/src/renderer/App.tsx +++ b/src/renderer/App.tsx @@ -4,51 +4,6 @@ import './Controller.css'; import { Controller } from './Controller'; import { Projector } from './Projector'; -export const defaultVideos = [ - { - id: 'video-1', - show: false, - position: { top: '5%', left: '10%' }, - size: { width: '320px', height: '180px' }, - }, - { - id: 'video-2', - show: false, - position: { top: '37%', left: '10%' }, - size: { width: '320px', height: '180px' }, - }, - { - id: 'video-3', - show: false, - position: { top: '70%', left: '10%' }, - size: { width: '320px', height: '180px' }, - }, -]; - -export const defaultCounters = [ - { - id: 'counter-1', - count: 0, - show: false, - position: { top: '0%', left: '60%' }, - size: '4em', - }, - { - id: 'counter-2', - count: 0, - show: false, - position: { top: '30%', left: '60%' }, - size: '4em', - }, - { - id: 'counter-3', - count: 0, - show: false, - position: { top: '60%', left: '60%' }, - size: '4em', - }, -]; - export default function App() { return ( diff --git a/src/renderer/Controller.tsx b/src/renderer/Controller.tsx index f5ee4b9..9965f1e 100644 --- a/src/renderer/Controller.tsx +++ b/src/renderer/Controller.tsx @@ -1,6 +1,9 @@ +/* eslint-disable jsx-a11y/label-has-associated-control */ +/* eslint-disable import/prefer-default-export */ +/* eslint-disable no-else-return */ import { useState } from 'react'; import type { Counter, Position, Size, Video } from './types'; -import { defaultCounters, defaultVideos } from './App'; +import { defaultCounters, defaultVideos } from './const'; // Controller Component export function Controller() { @@ -119,7 +122,9 @@ export function Controller() { return (

Theater VFX Controller

- {' '} + {' '}