mirror of
https://github.com/modrinth/code.git
synced 2026-09-03 13:36:48 +00:00
feat: implement drag to reorder skins
This commit is contained in:
@@ -142,6 +142,12 @@ export async function remove_custom_skin(skin: Skin): Promise<void> {
|
||||
})
|
||||
}
|
||||
|
||||
export async function reorder_custom_skins(skins: Skin[]): Promise<void> {
|
||||
await invoke('plugin:minecraft-skins|reorder_custom_skins', {
|
||||
skins,
|
||||
})
|
||||
}
|
||||
|
||||
export async function save_custom_skin(
|
||||
skin: Skin,
|
||||
textureBlob: Uint8Array,
|
||||
|
||||
Reference in New Issue
Block a user