fix: missing type
This commit is contained in:
@@ -24,7 +24,7 @@ public partial class PoloniumTextureButton : TextureButton
|
||||
set
|
||||
{
|
||||
PrivateTextureSetName = value;
|
||||
t = GlobalRegistry.TextureSetMap.GetValueOrDefault(value, null);
|
||||
TextureSet t = GlobalRegistry.TextureSetMap.GetValueOrDefault(value, null);
|
||||
if (t is not null)
|
||||
{
|
||||
TextureNormal = t.Normal;
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
<None Include="Package/build/$(AssemblyName).props" Pack="true" PackagePath="build" />
|
||||
<None Include="Package/embedded/**/*.*" Pack="true" PackagePath="build/embedded" />
|
||||
<None Include="publish" />
|
||||
<None Include="build" />
|
||||
<Compile Remove="Package/**/*.*"/>
|
||||
</ItemGroup>
|
||||
|
||||
@@ -50,13 +49,14 @@
|
||||
<ItemGroup>
|
||||
<NuGetPackages Include="$(OutputPath)*.nupkg" />
|
||||
</ItemGroup>
|
||||
<Message Text="Printing pkgs--------------------" Importance="high" />
|
||||
<Message Text="Pkgs: @(NuGetPackages)" Importance="high" />
|
||||
<Copy SourceFiles="@(NuGetPackages)" DestinationFolder="/NuGetFeed" />
|
||||
<Message Text="Printing pkgs--------------------" Importance="high"/>
|
||||
<Message Text="Pkgs: @(NuGetPackages)" Importance="high"/>
|
||||
<Copy SourceFiles="@(NuGetPackages)" DestinationFolder="/NuGetFeed"/>
|
||||
</Target>
|
||||
<Target Name="RestoreNoCache" BeforeTargets="Build">
|
||||
<Message Text="Restoring packages with no chache" Importance="high" />
|
||||
<Exec Command="dotnet restore --no-cache" />
|
||||
<Message Text="Restoring packages with no chache" Importance="high"/>
|
||||
<Exec Command="dotnet restore --no-cache"/>
|
||||
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
|
||||
@@ -7,7 +7,6 @@ namespace Polonium;
|
||||
|
||||
public class PoloniumRegistry
|
||||
{
|
||||
public static IGlobalRegistry GlobalRegistry { get; set; }
|
||||
private static PoloniumRegistry InternalInstance { get; set; }
|
||||
public static PoloniumRegistry Instance => InternalInstance ??= new PoloniumRegistry();
|
||||
public Config Config { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user