SMAPI - Stardew Modding API

SMAPI - Stardew Modding API

971k Downloads

GraphicsEvents.Resize notifies mods before game has updated viewport

Pathoschild opened this issue ยท 1 comments

commented

SMAPI listens to the same resize event as the game (gameInstance.Window.ClientSizeChanged), but with the new init flow in SMAPI 1.9+ it's registered before the game's handler. That means the game hasn't updated Game1.viewport by the time mod code is notified.

commented

Fixed in develop for the SMAPI 2.0 release.