🚀 Auto-deploy: melhoria no snap e medição AR em 25/05/2026 00:41:06

This commit is contained in:
2026-05-25 00:41:06 +00:00
parent 883f022883
commit 6ef7c3ae8f
2 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -144,6 +144,8 @@ const Viewer = () => {
type="file"
accept={ACCEPTED_EXTENSIONS}
className="hidden"
title="Selecionar arquivo de maquete para upload"
placeholder="Upload de maquete"
onChange={handleFileUpload}
/>
@@ -256,7 +258,7 @@ const Viewer = () => {
);
};
function InfoItem({ icon: Icon, label, value }: { icon: any; label: string; value: string }) {
function InfoItem({ icon: Icon, label, value }: { icon: React.ComponentType<{ className?: string }>; label: string; value: string }) {
return (
<div className="flex items-start gap-3">
<Icon className="mt-0.5 h-4 w-4 shrink-0 text-primary" />
+2 -2
View File
@@ -841,7 +841,7 @@ const XRSession = () => {
{/* Floating DOM HUD overlay — only visible OUTSIDE passthrough.
Inside AR, the DOM is occluded by the headset compositor; the
in-world XRHudInWorld replaces it. */}
<div style={{ display: inXR ? 'none' : 'contents' }}>
<div className={inXR ? 'hidden' : 'contents'}>
<XRHud
freeMove={freeMove}
onToggleFreeMove={() => setFreeMove(!freeMove)}
@@ -857,7 +857,7 @@ const XRSession = () => {
{/* Hidden ShareButton instance — registers window.__trackSteelStartLive
so the in-world Share tab can trigger broadcasts. Also keeps live
state in sync with the in-XR HUD. */}
<div style={{ display: 'none' }}>
<div className="hidden">
<ShareButton
onHandleChange={(h) => setLiveCode(h?.code ?? null)}
onViewerCountChange={setLiveViewers}