Skip to content

Commit

Permalink
Fixed UI
Browse files Browse the repository at this point in the history
  • Loading branch information
MacSergey committed Jun 3, 2023
1 parent 3f4620d commit 03507f0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
3 changes: 2 additions & 1 deletion NodeControllerRenewal.sln
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ Global
{F42A8D16-C123-4044-A926-1271531F5F9C} = {941BED44-F547-465A-8FC6-C0A0B98EB121}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {81553A2A-DCA5-449A-A08F-0BC55141DD0D}
BuildVersion_StartDate = 2000/1/1
SolutionGuid = {81553A2A-DCA5-449A-A08F-0BC55141DD0D}
EndGlobalSection
GlobalSection(SharedMSBuildProjectFiles) = preSolution
ModsCommon\HeaderShared\HeaderShared.projitems*{0bf47c3f-c968-4759-8d99-d088b0d58fba}*SharedItemsImports = 13
Expand Down Expand Up @@ -288,6 +288,7 @@ Global
UpdateAssemblyVersion.Beta Debug|Any CPU = True
UpdateAssemblyFileVersion.Beta Debug|Any CPU = False
UpdateAssemblyInfoVersion.Beta Debug|Any CPU = False
ShouldCreateLogs.Beta Debug|Any CPU = True
AssemblyVersionSettings.Beta Debug|Any CPU = None.None.None.Increment
UpdatePackageVersion.Beta Debug|Any CPU = False
AssemblyInfoVersionType.Beta Debug|Any CPU = SettingsVersion
Expand Down
4 changes: 2 additions & 2 deletions NodeControllerRenewal/NodeControllerRenewal.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
</PropertyGroup>

<PropertyGroup>
<AssemblyVersion>3.5.0.99</AssemblyVersion>
<AssemblyVersion>3.5.0.100</AssemblyVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)' == 'Stable Release' OR '$(Configuration)' == 'Stable Debug'">
<AssemblyVersion>3.5</AssemblyVersion>
<AssemblyVersion>3.5.0.1</AssemblyVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Stable Release|AnyCPU'">
Expand Down
5 changes: 1 addition & 4 deletions NodeControllerRenewal/UI/OptionPanel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -352,10 +352,7 @@ public SpacePanel() : base()
public void Init(float height) => base.Init(height);
public override void SetStyle(ControlStyle style) { }

void IReusable.DeInit()
{
throw new NotImplementedException();
}
void IReusable.DeInit() { }
}
public class IOSegmented : UIOnceSegmented<bool> { }
public class INOSegmented : UIOnceSegmented<bool?> { }
Expand Down
6 changes: 3 additions & 3 deletions NodeControllerRenewal/UI/UIStyle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ public static class UIStyle
DropDown = new DropDownStyle()
{
BgAtlas = Atlas,
FgAtlas = Atlas,
IconAtlas = Atlas,

AllBgSprites = new SpriteSet(FieldSingle, FieldSingle, FieldSingle, FieldSingle, BorderSmall),
BgColors = new ColorSet(PropertyNormal, PropertyHovered, PropertyHovered, PropertyNormal, PropertyNormal),
SelBgColors = PropertyFocused,

FgSprites = new SpriteSet(VectorDown, VectorDown, VectorDown, VectorDown, default),
FgColors = Color.white,
IconSprites = new SpriteSet(VectorDown, VectorDown, VectorDown, VectorDown, default),
IconColors = Color.white,

AllTextColors = new ColorSet(Color.white, Color.white, Color.white, Color.white, Color.black),

Expand Down

0 comments on commit 03507f0

Please sign in to comment.