refactor: dom

This commit is contained in:
cha0s 2024-07-12 01:52:43 -05:00
parent bb0c5ab1e9
commit 7141d20a94
9 changed files with 5 additions and 5 deletions

View File

@ -8,11 +8,11 @@ import {useDebug} from '@/context/debug.js';
import {useEcs, useEcsTick} from '@/context/ecs.js';
import {useMainEntity} from '@/context/main-entity.js';
import Devtools from './devtools.jsx';
import Disconnected from './disconnected.jsx';
import Dom from './dom.jsx';
import HotBar from './hotbar.jsx';
import Disconnected from './dom/disconnected.jsx';
import Dom from './dom/dom.jsx';
import HotBar from './dom/hotbar.jsx';
import Pixi from './pixi/pixi.jsx';
import Devtools from './devtools.jsx';
import styles from './ui.module.css';
function emptySlots() {
@ -380,7 +380,7 @@ export default function Ui({disconnected}) {
camera={camera}
scale={scale}
/>
<Dom devtoolsIsOpen={devtoolsIsOpen}>
<Dom>
<HotBar
active={activeSlot}
onActivate={(i) => {