diff options
-rw-r--r-- | release-notes.md | 6 | ||||
-rw-r--r-- | src/StardewModdingAPI/Framework/SGame.cs | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/release-notes.md b/release-notes.md index a5ef4a0b..5c693292 100644 --- a/release-notes.md +++ b/release-notes.md @@ -15,6 +15,12 @@ See [log](https://github.com/Pathoschild/SMAPI/compare/1.9...1.10). * SMAPI now rewrites many mods for compatibility with game updates, but some mods will need an update. --> +## 1.9.1 +See [log](https://github.com/Pathoschild/SMAPI/compare/1.9...1.9.1). + +For mod developers: +* Fixed mouse-changed event never updating prior mouse position. + ## 1.9 See [log](https://github.com/Pathoschild/SMAPI/compare/1.8...1.9). 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; } } |