Skip to content

Commit c4002ed

Browse files
authored
[Pushup] Fix KK project, replace KKS exclusive code in shared project (#349)
Fix to KK.Pushup project so it builds as Pushup and not Profile, also changed code in shared project so it doesn't use function only available in KKS. Should be no side effects since setter for value property in KKS calls this method anyway, but it allows KK version to build.
1 parent 153f825 commit c4002ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Pushup.Core/Core.Pushup.GUI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ internal static void ReloadCoordinateDropdown()
129129
var options = GetCoordinateList();
130130
CoordinateDropdownTMP.AddOptions(options);
131131
if (value < options.Count)
132-
CoordinateDropdownTMP.SetValue(value);
132+
CoordinateDropdownTMP.value = value;
133133
}
134134
#endif
135135

src/Pushup.KK/KK.Pushup.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@
2929
<ItemGroup>
3030
<ProjectReference Include="..\MoreOutfits.KK\KK.MoreOutfits.csproj" />
3131
</ItemGroup>
32+
<Import Project="..\Pushup.Core\Pushup.Core.projitems" Label="Shared" />
3233
<Import Project="..\Shared\Shared.projitems" Label="Shared" />
33-
<Import Project="..\Profile.Core\Profile.Core.projitems" Label="Shared" />
3434
</Project>

0 commit comments

Comments
 (0)