mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:07:52 +08:00
Change SafeAreaOverrideEdges
to be get-only and protected
This commit is contained in:
parent
e2262bf3b2
commit
5e47ce333c
@ -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; }
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user