CloudSixteen / Clockwork

A roleplaying framework developed by Cloud Sixteen for the people.
http://CloudSixteen.com
MIT License
44 stars 44 forks source link

Fix invisible characterModel #546

Open connorh315 opened 4 years ago

connorh315 commented 4 years ago

When the panel to the left of the characterModel is too small (due to only one row of models for the player to select from) the y will be calculated and set to a negative position. This means that the characterModel will not render at all. Therefore, we clamp the y to be greater than zero to ensure that this doesn't happen.