public override void gameWindowSizeChanged(Rectangle oldBounds, Rectangle newBounds) { if (!(Game1.activeClickableMenu is SettingsMenu)) { return; } Game1.activeClickableMenu = new SettingsMenu(_parent, _currentIndex); _previousMenu?.gameWindowSizeChanged(oldBounds, newBounds); }
public override void gameWindowSizeChanged(Rectangle oldBounds, Rectangle newBounds) { if (!(Game1.activeClickableMenu is BubblesMenu)) { return; } Game1.activeClickableMenu = new BubblesMenu(_config); _previousMenu?.gameWindowSizeChanged(oldBounds, newBounds); }