Skip to content

Commit

Permalink
update width/height sliders when changing species
Browse files Browse the repository at this point in the history
  • Loading branch information
DEATHB4DEFEAT committed Feb 12, 2024
1 parent 93bf5d2 commit 389b7af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Content.Client/Preferences/UI/HumanoidProfileEditor.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,8 @@ private void SetSpecies(string newSpecies)
OnSkinColorOnValueChanged(); // Species may have special color prefs, make sure to update it.
CMarkings.SetSpecies(newSpecies); // Repopulate the markings tab as well.
UpdateSexControls(); // update sex for new species
UpdateHeightControls(); // Parkstation-HeightSlider - Changing species provides inaccurate sliders
UpdateWidthControls(); // Parkstation-HeightSlider - Changing species provides inaccurate sliders
RebuildSpriteView(); // they might have different inv so we need a new dummy
IsDirty = true;
_needUpdatePreview = true;
Expand Down

0 comments on commit 389b7af

Please sign in to comment.