Skip to content

Commit

Permalink
Merge pull request #211 from stanriders/update-packages-20240731
Browse files Browse the repository at this point in the history
Update packages
  • Loading branch information
peppy authored Aug 1, 2024
2 parents a1bb55f + f7ebe5a commit bc9ab93
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ namespace PerformanceCalculatorGUI.Components
{
public partial class ExtendedUserModSelectOverlay : UserModSelectOverlay
{
protected override bool ShowModEffects => false;

public ExtendedUserModSelectOverlay()

Check notice on line 12 in PerformanceCalculatorGUI/Components/ExtendedUserModSelectOverlay.cs

View workflow job for this annotation

GitHub Actions / Code Quality

Convert into primary constructor in PerformanceCalculatorGUI\Components\ExtendedUserModSelectOverlay.cs on line 12
: base(OverlayColourScheme.Blue)
{
Expand All @@ -19,7 +17,8 @@ public ExtendedUserModSelectOverlay()
protected override void PopIn()
{
Header.Hide();
MainAreaContent.Padding = new MarginPadding { Bottom = 64 };
MainAreaContent.Padding = new MarginPadding();
TopLevelContent.Children[0].Hide(); // hide the gray background of the ShearedOverlayContainer

base.PopIn();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,10 @@ namespace PerformanceCalculatorGUI.Components.TextBoxes
{
public partial class ExtendedLabelledTextBox : LabelledTextBox
{
public new const float CORNER_RADIUS = 8;

public bool CommitOnFocusLoss
{
get => Component.CommitOnFocusLost;
set => Component.CommitOnFocusLost = value;
}

public ExtendedLabelledTextBox()
{
CornerRadius = CORNER_RADIUS;
}
}
}
10 changes: 5 additions & 5 deletions PerformanceCalculatorGUI/PerformanceCalculatorGUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<LangVersion>latest</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="ppy.osu.Game" Version="2024.625.2" />
<PackageReference Include="ppy.osu.Game.Rulesets.Osu" Version="2024.625.2" />
<PackageReference Include="ppy.osu.Game.Rulesets.Taiko" Version="2024.625.2" />
<PackageReference Include="ppy.osu.Game.Rulesets.Catch" Version="2024.625.2" />
<PackageReference Include="ppy.osu.Game.Rulesets.Mania" Version="2024.625.2" />
<PackageReference Include="ppy.osu.Game" Version="2024.731.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Osu" Version="2024.731.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Taiko" Version="2024.731.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Catch" Version="2024.731.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Mania" Version="2024.731.0" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public OsuObjectInspectorRuleset(Ruleset ruleset, IBeatmap beatmap, IReadOnlyLis
protected override void Update()
{
base.Update();
objectDifficultyValuesContainer.CurrentDifficultyHitObject.Value = difficultyHitObjects.LastOrDefault(x => x.StartTime < Clock.CurrentTime);
objectDifficultyValuesContainer.CurrentDifficultyHitObject.Value = difficultyHitObjects.LastOrDefault(x => x.StartTime <= Clock.CurrentTime);
}

public override bool PropagatePositionalInputSubTree => false;
Expand Down

0 comments on commit bc9ab93

Please sign in to comment.