fix: PCK3, hex values and force slim skins to be wide

This commit is contained in:
neoapps-dev
2026-04-16 17:04:22 +03:00
parent 1a0f51d698
commit afebdffced
2 changed files with 46 additions and 13 deletions
+2 -2
View File
@@ -171,7 +171,7 @@ export default function PckEditorView() {
const handleNewPCK = () => {
playPressSound();
const newPck: PCKFile = {
version: 2,
version: 3,
endianness: "little",
xmlSupport: false,
properties: ["ANIM", "BOX"],
@@ -624,7 +624,7 @@ export default function PckEditorView() {
const newVal = e.target.checked
? currentVal | item.flag
: currentVal & ~item.flag;
handlePropertyEdit(idx, newVal.toString());
handlePropertyEdit(idx, `0x${newVal.toString(16).toUpperCase().padStart(8, "0")}`);
}}
className="hidden"
/>