From f4b13091493872b0765f1784fbab24dd60a99b96 Mon Sep 17 00:00:00 2001 From: Emi Matchu Date: Fri, 6 Feb 2026 19:27:22 -0800 Subject: [PATCH] [WV2] Stabilize IDs for pose picker outfit viewers This should help with the morphing for the main preview --- app/views/wardrobe/appearance/_pose_option.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/wardrobe/appearance/_pose_option.html.haml b/app/views/wardrobe/appearance/_pose_option.html.haml index 0e4607e0..12ace05f 100644 --- a/app/views/wardrobe/appearance/_pose_option.html.haml +++ b/app/views/wardrobe/appearance/_pose_option.html.haml @@ -15,7 +15,8 @@ - if is_available -# Create a minimal outfit with just this pet state for the thumbnail - thumbnail_outfit = Outfit.new(pet_state: pet_state, worn_items: []) - = outfit_viewer thumbnail_outfit, class: "pose-thumbnail-viewer" + = outfit_viewer thumbnail_outfit, class: "pose-thumbnail-viewer", + id: "pose-thumbnail-viewer-#{pet_state.id}" - else .pose-unavailable %span.question-mark{title: "Not available"} ❓