diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-10-22 15:09:36 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-10-22 15:09:36 -0400 |
commit | ed56cb714d7fb76f3c1b9d2f2e7b7627f8accc70 (patch) | |
tree | fbdfa324a8734c3926597a146aa029b8bbd335a7 /docs | |
parent | 99c8dd79406f5099194d72e26085a49939705259 (diff) | |
download | SMAPI-ed56cb714d7fb76f3c1b9d2f2e7b7627f8accc70.tar.gz SMAPI-ed56cb714d7fb76f3c1b9d2f2e7b7627f8accc70.tar.bz2 SMAPI-ed56cb714d7fb76f3c1b9d2f2e7b7627f8accc70.zip |
replace input events' e.IsClick with better-designed e.IsActionButton and e.IsUseToolButton
Diffstat (limited to 'docs')
-rw-r--r-- | docs/release-notes.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md index 65536915..452fd40a 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -6,8 +6,11 @@ * For modders: * Added support for public code in reflection API, to simplify mod integrations. * Improved input events: + * Added `e.IsActionButton` and `e.IsUseToolButton`. * Added `ToSButton()` extension for the game's `Game1.options` button type. + * Deprecated `e.IsClick`, which is limited and unclear. Use `IsActionButton` or `IsUseToolButton` instead. * Fixed `e.SuppressButton()` not correctly suppressing keyboard buttons. + * Fixed `e.IsClick` (now `e.IsActionButton`) ignoring custom key bindings. * Fixed mods which implement `IAssetLoader` directly not being allowed to load files due to incorrect conflict detection. * Fixed SMAPI blocking reflection access to vanilla members on overridden types. |