mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-05 01:17:22 +00:00
Rearrange components
This commit is contained in:
parent
39e8b8a526
commit
daa26965cd
16 changed files with 14 additions and 11 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { h } from 'preact'
|
||||
import { useEffect, useRef, useState } from 'preact/hooks'
|
||||
|
||||
import s from './InputBox/MenuButton.module.scss'
|
||||
import s from './MenuButton/MenuButton.module.scss'
|
||||
|
||||
/* eslint-disable */
|
||||
const keyCodes = {
|
||||
|
|
@ -3,13 +3,16 @@ import { useState, useEffect } from 'preact/hooks'
|
|||
|
||||
import CheapGlkOte from 'cheap-glkote'
|
||||
|
||||
import TextBuffer from './TextBuffer'
|
||||
import GridBuffer from './GridBuffer'
|
||||
import TextBuffer from './OutputBox/TextBuffer'
|
||||
import GridBuffer from './OutputBox/GridBuffer'
|
||||
|
||||
import InputBox from './InputBox'
|
||||
import Status from './Status'
|
||||
import InputBox from './InputBox/InputBox'
|
||||
import Status from './Status/Status'
|
||||
|
||||
import { Handlers, unhandledRejectionHandler } from './playerHandlers'
|
||||
import {
|
||||
Handlers,
|
||||
unhandledRejectionHandler
|
||||
} from './common/playerHandlers'
|
||||
|
||||
import './player.css'
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import { useState, useEffect } from 'preact/hooks'
|
|||
import { engineByFilename } from './common/engines'
|
||||
|
||||
import Player from './Player'
|
||||
import Status from './Status'
|
||||
import Status from './Status/Status'
|
||||
|
||||
const INITIAL_STATUS = {
|
||||
stage: 'loading',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue