Вот теперь фикс

This commit is contained in:
Jabak
2024-07-17 22:42:01 +03:00
parent 2084b59871
commit 1014cba1c3
4 changed files with 8 additions and 8 deletions

View File

@@ -162,14 +162,14 @@
</prefUi:HighlightedContainer>
</BoxContainer>
<!-- Height -->
<!--BoxContainer HorizontalExpand="True" Orientation="Vertical" Name="HeightContainer">
<BoxContainer HorizontalExpand="True" Orientation="Vertical" Name="HeightContainer">
<Label Text="{Loc 'humanoid-profile-editor-height-label'}" />
<Slider HorizontalExpand="True" Name="CHeight" MinValue="0" MaxValue="255" Value="1"/>
<BoxContainer Orientation="Horizontal">
<Label Name="CHeightInformation"/>
<Button Name="ResetHeightButton" Text="{Loc 'height-reset'}"/>
</BoxContainer>
</-->
</BoxContainer>
<!-- Skin -->
<prefUi:HighlightedContainer>
<BoxContainer HorizontalExpand="True" Orientation="Vertical">
@@ -193,7 +193,7 @@
</BoxContainer>
</prefUi:HighlightedContainer>
<!-- AMOUR -->
<!--humanoidProfileEditorExt:GenitalBoxView Name="GenitalBoxView"/-->
<humanoidProfileEditorExt:GenitalBoxView Name="GenitalBoxView"/>
</BoxContainer>
</ScrollContainer>
</BoxContainer>

View File

@@ -207,11 +207,11 @@ namespace Content.Client.Preferences.UI
//AMOUR START
#region Genitals
//InitializeGenitals();
InitializeGenitals();
#endregion
#region height
//InitializeHeight();
InitializeHeight();
#endregion
//AMOUR END
@@ -235,7 +235,7 @@ namespace Content.Client.Preferences.UI
SetSpecies(_speciesList[args.Id].ID);
UpdateHairPickers();
OnSkinColorOnValueChanged();
//UpdateHeightControl(); // AMOUR
UpdateHeightControl(); // AMOUR
};
#endregion Species
@@ -1289,9 +1289,9 @@ namespace Content.Client.Preferences.UI
//WD-EDIT
//Amour edit
//UpdateGenitalsControls();
UpdateGenitalsControls();
UpdateRoleplayThink();
//UpdateHeightControl();
UpdateHeightControl();
//Amour edit
_preferenceUnavailableButton.SelectId((int) Profile.PreferenceUnavailable);