Spice-King / foundry-swnr

Stars Without Number: Revised for Foundry VTT
GNU Affero General Public License v3.0
30 stars 43 forks source link

Avatar image aspect ratio is not maintained #26

Closed dodgepong closed 3 years ago

dodgepong commented 3 years ago

Version Foundry Version: 0.7.9 Module Version: 0.4.0 Prerelease

Expected Behavior The character portrait should always maintain its original aspect ratio in the character sheet, regardless of the sheet's size.

Actual Behavior When I use a non-square avatar image for a character portrait, the image aspect ratio gets skewed when the character sheet is widened beyond a specific threshold.

Example: https://streamable.com/imu2pq

Steps to reproduce

  1. Create a new character actor
  2. Upload a non-square avatar
  3. Resize the character sheet and observe warping