summaryrefslogtreecommitdiff
path: root/StardewModdingAPI/Inheritance/SGame.cs
diff options
context:
space:
mode:
authorZoryn Aaron <zoryn4163@gmail.com>2016-03-27 06:47:13 -0400
committerZoryn Aaron <zoryn4163@gmail.com>2016-03-27 06:47:13 -0400
commitfac89e4c26d4fcdb840c47c2b0d2192baf898d50 (patch)
treefe637db45edf973672d2c1d0ad5a70d01f851c21 /StardewModdingAPI/Inheritance/SGame.cs
parenta387d024f074074d61955eb52fb83002d8440bbb (diff)
downloadSMAPI-fac89e4c26d4fcdb840c47c2b0d2192baf898d50.tar.gz
SMAPI-fac89e4c26d4fcdb840c47c2b0d2192baf898d50.tar.bz2
SMAPI-fac89e4c26d4fcdb840c47c2b0d2192baf898d50.zip
bug fix
Diffstat (limited to 'StardewModdingAPI/Inheritance/SGame.cs')
-rw-r--r--StardewModdingAPI/Inheritance/SGame.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/StardewModdingAPI/Inheritance/SGame.cs b/StardewModdingAPI/Inheritance/SGame.cs
index 5b05f2e2..d6263d73 100644
--- a/StardewModdingAPI/Inheritance/SGame.cs
+++ b/StardewModdingAPI/Inheritance/SGame.cs
@@ -426,7 +426,10 @@ namespace StardewModdingAPI.Inheritance
UpdateEventCalls();
if (ZoomLevelIsOne)
+ {
options.zoomLevel = 0.99f;
+ InvokeBasePrivateInstancedMethod("Window_ClientSizeChanged", null, null);
+ }
if (FramePressedKeys.Contains(Keys.F3))
{