mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Hide the game mouse cursor when playing osu!catch with relax mod
This commit is contained in:
@ -93,7 +93,7 @@ namespace osu.Game.Rulesets.UI
|
||||
public readonly BindableBool DisplayJudgements = new BindableBool(true);
|
||||
|
||||
[Resolved(CanBeNull = true)]
|
||||
private IReadOnlyList<Mod> mods { get; set; }
|
||||
protected IReadOnlyList<Mod> Mods { get; private set; }
|
||||
|
||||
private readonly HitObjectEntryManager entryManager = new HitObjectEntryManager();
|
||||
|
||||
@ -243,9 +243,9 @@ namespace osu.Game.Rulesets.UI
|
||||
{
|
||||
base.Update();
|
||||
|
||||
if (!IsNested && mods != null)
|
||||
if (!IsNested && Mods != null)
|
||||
{
|
||||
foreach (var mod in mods)
|
||||
foreach (var mod in Mods)
|
||||
{
|
||||
if (mod is IUpdatableByPlayfield updatable)
|
||||
updatable.Update(this);
|
||||
@ -374,9 +374,9 @@ namespace osu.Game.Rulesets.UI
|
||||
|
||||
// If this is the first time this DHO is being used, then apply the DHO mods.
|
||||
// This is done before Apply() so that the state is updated once when the hitobject is applied.
|
||||
if (mods != null)
|
||||
if (Mods != null)
|
||||
{
|
||||
foreach (var m in mods.OfType<IApplicableToDrawableHitObject>())
|
||||
foreach (var m in Mods.OfType<IApplicableToDrawableHitObject>())
|
||||
m.ApplyToDrawableHitObject(dho);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user