Fix settings panel children not processing transforms while masked away

This commit is contained in:
Salman Ahmed
2021-08-06 22:10:03 +03:00
parent f77037ef57
commit ac157f6cef

View File

@ -34,6 +34,12 @@ namespace osu.Game.Overlays
protected override Container<Drawable> Content => ContentContainer;
/// <summary>
/// The <see cref="SettingsPanel"/> always needs to be present for <see cref="ContentContainer"/> to process transforms while overlay is masked away.
/// todo: there may be a better solution for this and the existing <see cref="NonMaskedContent"/>, likely requires a refactor.
/// </summary>
public override bool IsPresent => true;
/// <summary>
/// A horizontal offset to apply to the game-wide screen.
/// </summary>