Compactor multi-threaded, fixed many of IDE warnings
This commit is contained in:
@@ -25,7 +25,6 @@ public class UpdateNotesUi : WindowMediatorSubscriberBase
|
||||
private ChangelogFile _changelog = new();
|
||||
private CreditsFile _credits = new();
|
||||
private bool _scrollToTop;
|
||||
private int _selectedTab;
|
||||
private bool _hasInitializedCollapsingHeaders;
|
||||
|
||||
private struct Particle
|
||||
@@ -160,7 +159,7 @@ public class UpdateNotesUi : WindowMediatorSubscriberBase
|
||||
DrawParticleEffects(headerStart, extendedParticleSize);
|
||||
}
|
||||
|
||||
private void DrawGradientBackground(Vector2 headerStart, Vector2 headerEnd)
|
||||
private static void DrawGradientBackground(Vector2 headerStart, Vector2 headerEnd)
|
||||
{
|
||||
var drawList = ImGui.GetWindowDrawList();
|
||||
|
||||
@@ -188,7 +187,7 @@ public class UpdateNotesUi : WindowMediatorSubscriberBase
|
||||
}
|
||||
}
|
||||
|
||||
private void DrawBottomGradient(Vector2 headerStart, Vector2 headerEnd, float width)
|
||||
private static void DrawBottomGradient(Vector2 headerStart, Vector2 headerEnd, float width)
|
||||
{
|
||||
var drawList = ImGui.GetWindowDrawList();
|
||||
var gradientHeight = 60f;
|
||||
@@ -513,7 +512,6 @@ public class UpdateNotesUi : WindowMediatorSubscriberBase
|
||||
{
|
||||
if (changelogTab)
|
||||
{
|
||||
_selectedTab = 0;
|
||||
DrawChangelog();
|
||||
}
|
||||
}
|
||||
@@ -524,7 +522,6 @@ public class UpdateNotesUi : WindowMediatorSubscriberBase
|
||||
{
|
||||
if (creditsTab)
|
||||
{
|
||||
_selectedTab = 1;
|
||||
DrawCredits();
|
||||
}
|
||||
}
|
||||
@@ -558,7 +555,7 @@ public class UpdateNotesUi : WindowMediatorSubscriberBase
|
||||
}
|
||||
}
|
||||
|
||||
private void DrawCreditCategory(CreditCategory category)
|
||||
private static void DrawCreditCategory(CreditCategory category)
|
||||
{
|
||||
DrawFeatureSection(category.Category, UIColors.Get("LightlessBlue"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user