[WV2] Stabilize IDs for pose picker outfit viewers
This should help with the morphing for the main preview
This commit is contained in:
parent
f13481783d
commit
f4b1309149
1 changed files with 2 additions and 1 deletions
|
|
@ -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"} ❓
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue