[WV2] Stabilize IDs for pose picker outfit viewers

This should help with the morphing for the main preview
This commit is contained in:
Emi Matchu 2026-02-06 19:27:22 -08:00
parent f13481783d
commit f4b1309149

View file

@ -15,7 +15,8 @@
- if is_available - if is_available
-# Create a minimal outfit with just this pet state for the thumbnail -# Create a minimal outfit with just this pet state for the thumbnail
- thumbnail_outfit = Outfit.new(pet_state: pet_state, worn_items: []) - 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 - else
.pose-unavailable .pose-unavailable
%span.question-mark{title: "Not available"} ❓ %span.question-mark{title: "Not available"} ❓