1
0
forked from noxious/client

Fix for object depths and proper depths for rotated objects

This commit is contained in:
2025-03-20 15:17:34 -05:00
parent 3f28d85c30
commit 2881d5f251
4 changed files with 29 additions and 9 deletions

View File

@ -114,7 +114,7 @@ if (selectedMapObject.value) {
mapObjectFrameHeight.value = selectedMapObject.value.frameHeight
}
const setPartitionDepth = (event: any, idx: number) => mapObjectDepthOffsets.value[idx] = event.target.value
const setPartitionDepth = (event: any, idx: number) => mapObjectDepthOffsets.value[idx] = Number.parseInt(event.target.value)
async function removeObject() {
if (!selectedMapObject.value) return