1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 04:32:57 +08:00

Change SafeAreaOverrideEdges to be get-only and protected

This commit is contained in:
Salman Ahmed 2022-02-04 16:10:49 +03:00
parent e2262bf3b2
commit 5e47ce333c
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ namespace osu.Game
/// The <see cref="Edges"/> that the game should be drawn over at a top level.
/// Defaults to <see cref="Edges.None"/>.
/// </summary>
public virtual Edges SafeAreaOverrideEdges { get; set; }
protected virtual Edges SafeAreaOverrideEdges => Edges.None;
protected OsuConfigManager LocalConfig { get; private set; }

View File

@ -19,7 +19,7 @@ namespace osu.iOS
protected override BatteryInfo CreateBatteryInfo() => new IOSBatteryInfo();
public override Edges SafeAreaOverrideEdges =>
protected override Edges SafeAreaOverrideEdges =>
// iOS shows a home indicator at the bottom, and adds a safe area to account for this.
// Because we have the home indicator (mostly) hidden we don't really care about drawing in this region.
Edges.Bottom;