diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-04-07 15:36:45 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-04-22 23:59:38 -0400 |
commit | 4f87a2b478b9c15ac3eb3d245228e9e72ac847ae (patch) | |
tree | 24dfc131f2378ff9ad454758e403569d2a19b204 /src | |
parent | dbb9bd84306830456032778fc11fb9a34dd140c7 (diff) | |
download | SMAPI-4f87a2b478b9c15ac3eb3d245228e9e72ac847ae.tar.gz SMAPI-4f87a2b478b9c15ac3eb3d245228e9e72ac847ae.tar.bz2 SMAPI-4f87a2b478b9c15ac3eb3d245228e9e72ac847ae.zip |
fix mouse-changed event never updating prior mouse position
Diffstat (limited to 'src')
-rw-r--r-- | src/StardewModdingAPI/Framework/SGame.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StardewModdingAPI/Framework/SGame.cs b/src/StardewModdingAPI/Framework/SGame.cs index 5f265139..0b4d7494 100644 --- a/src/StardewModdingAPI/Framework/SGame.cs +++ b/src/StardewModdingAPI/Framework/SGame.cs @@ -874,7 +874,7 @@ namespace StardewModdingAPI.Framework { ControlEvents.InvokeMouseChanged(this.Monitor, this.MStatePrior, this.MStateNow, this.MPositionPrior, this.MPositionNow); this.MStatePrior = this.MStateNow; - this.MPositionPrior = this.MPositionPrior; + this.MPositionPrior = this.MPositionNow; } } |