RE-SS3D / SS3D

Space Station 3D, another remake of SS13, but with an extra D.
https://ss3d.space/
249 stars 138 forks source link

Stable horizontal inventory slot alignment #1400

Closed jckling closed 7 months ago

jckling commented 7 months ago

Summary

Enable horizontal layout group in HandleInventoryContainerAdded and disable in HandleInventoryContainerRemoved.

PR checklist

Pictures/Videos

https://github.com/RE-SS3D/SS3D/assets/25079277/c085cdfa-ec23-4e26-9b4e-57c1fe49cad4

Tests

Are there any other items that would affect the horizontal layout slot?

Related issues/PRs

Closes #1365Closes #1365Closes #1365

stilnat commented 7 months ago

Nice ! I'll have to test the following :

jckling commented 7 months ago

@stilnat

Removing hand makes slots shift, I didn't consider this, the second solution (https://github.com/RE-SS3D/SS3D/issues/1365#issuecomment-1849520811) might be the appropriate one.

stilnat commented 7 months ago

@jckling okay thanks for testing it out !