Changes
Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com>
This commit is contained in:
@@ -239,9 +239,9 @@ function FloatingPanel({
|
|||||||
<group position={[0, H / 2 - 0.045, 0.001]}>
|
<group position={[0, H / 2 - 0.045, 0.001]}>
|
||||||
{tabs.map((t, i) => (
|
{tabs.map((t, i) => (
|
||||||
<XR3DButton key={t.id}
|
<XR3DButton key={t.id}
|
||||||
position={[-W / 2 + 0.045 + i * 0.092, 0, 0]} size={[0.085, 0.022]}
|
position={[-W / 2 + 0.04 + i * 0.078, 0, 0]} size={[0.072, 0.022]}
|
||||||
label={t.label} icon={t.icon} active={tab === t.id}
|
label={t.label} icon={t.icon} active={tab === t.id}
|
||||||
onClick={() => setTab(t.id)} fontSize={0.0075} />
|
onClick={() => setTab(t.id)} fontSize={0.0072} />
|
||||||
))}
|
))}
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
@@ -249,6 +249,7 @@ function FloatingPanel({
|
|||||||
{tab === 'scene' && <SceneTab />}
|
{tab === 'scene' && <SceneTab />}
|
||||||
{tab === 'tools' && <ToolsTab {...p} />}
|
{tab === 'tools' && <ToolsTab {...p} />}
|
||||||
{tab === 'inspection' && <InspectionTab />}
|
{tab === 'inspection' && <InspectionTab />}
|
||||||
|
{tab === 'capture' && <CaptureTab />}
|
||||||
{tab === 'share' && <ShareTab {...p} />}
|
{tab === 'share' && <ShareTab {...p} />}
|
||||||
{tab === 'webxr' && <WebXRTab />}
|
{tab === 'webxr' && <WebXRTab />}
|
||||||
</group>
|
</group>
|
||||||
|
|||||||
Reference in New Issue
Block a user