fix: positioning of meshes

This commit is contained in:
Calum H.
2025-05-14 19:29:22 +01:00
committed by Alejandro González
parent 6294fce33d
commit 7032a1e264
2 changed files with 11 additions and 11 deletions

View File

@@ -56,6 +56,14 @@ watch(
/>
</div>
<div class="mt-4 flex items-center justify-between">
<div>
<h2 class="m-0 text-lg font-extrabold text-contrast">Hide Nametag</h2>
<p class="m-0 mt-1">Allows you to disable the nametag that appears above the main preview on the skin management page.</p>
</div>
<Toggle id="hide-nametag-skins-page" v-model="settings.hide_nametag_skins_page" />
</div>
<div v-if="os !== 'MacOS'" class="mt-4 flex items-center justify-between gap-4">
<div>
<h2 class="m-0 text-lg font-extrabold text-contrast">Native Decorations</h2>
@@ -119,12 +127,4 @@ watch(
"
/>
</div>
<div class="mt-4 flex items-center justify-between">
<div>
<h2 class="m-0 text-lg font-extrabold text-contrast">Hide nametag on skins page</h2>
<p class="m-0 mt-1">Allows you to disable the nametag that appears above the main preview on the skin management page.</p>
</div>
<Toggle id="hide-nametag-skins-page" v-model="settings.hide_nametag_skins_page" />
</div>
</template>

View File

@@ -18,19 +18,19 @@
>
<Suspense>
<Group>
<Group ref="modelGroup" :rotation="[0, modelRotation, 0]" :position="[0, 0, 2]" :scale="[0.8, 0.8, 0.8]">
<Group ref="modelGroup" :rotation="[0, modelRotation, 0]" :position="[0, -0.05, 1.95]" :scale="[0.8, 0.8, 0.8]">
<primitive v-if="scene" ref="modelRef" :object="scene" />
</Group>
<TresMesh
:position="[0, -0.099, 2.2]"
:position="[0, -0.095, 2]"
:rotation="[-Math.PI / 2, 0, 0]"
:scale="[0.4, 0.4, 0.4]"
>
<TresCircleGeometry :args="[1, 32]" />
<TresMeshBasicMaterial
color="#000000"
:opacity="0.1"
:opacity="0.6"
transparent
:depth-write="false"
/>