Add simple screenshot notification

This commit is contained in:
TocoToucan
2018-03-16 21:25:00 +03:00
parent 8429408974
commit 245200d3ee
2 changed files with 15 additions and 7 deletions

View File

@ -218,7 +218,6 @@ namespace osu.Game
},
mainContent = new Container { RelativeSizeAxes = Axes.Both },
overlayContent = new Container { RelativeSizeAxes = Axes.Both, Depth = float.MinValue },
new ScreenshotManager()
});
loadComponentSingleFile(screenStack = new Loader(), d =>
@ -286,6 +285,8 @@ namespace osu.Game
dependencies.Cache(notifications);
dependencies.Cache(dialogOverlay);
Add(new ScreenshotManager());
// ensure only one of these overlays are open at once.
var singleDisplayOverlays = new OverlayContainer[] { chat, social, direct };
foreach (var overlay in singleDisplayOverlays)