Commit ff7837e
authored
FIX: ISXB-687 Added guard clause to RemovePointerAtIndex in InputSy… (#1982)
* FIX: ISXB-687 Added guard clause to RemovePointerAtIndex in InputSystemUIInputModule to not remove touch pointers on the same frame they are released.
* Added changelog entry for fix ISXB-543
* Fixed infinite loop caused by FilterPointerStatesByType() trying to force their release on the same frame they occur.
Ran the formatter and applied changes to CHANGELOG.md
* Fixed issue where touch pointers don't get released when mouse or pen inputs happen.
* Fixed incorrect boolean logic in InputSystemUIInputModule.cs causing certain pointers to be incorrectly released or not released.
* Moved changelog entry for ISXB-687 into unreleased.
* Moved double touch pointer changelog entry to unreleased.
* Removed additional duplicate entries in changelog
* Removed superfluous code to get pointer state that is never used in InputSystemUIInputModule.1 parent 3a96dac commit ff7837e
File tree
2 files changed
+15
-1
lines changed- Packages/com.unity.inputsystem
- InputSystem/Plugins/UI
2 files changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1947 | 1947 | | |
1948 | 1948 | | |
1949 | 1949 | | |
| 1950 | + | |
| 1951 | + | |
| 1952 | + | |
| 1953 | + | |
| 1954 | + | |
| 1955 | + | |
| 1956 | + | |
1950 | 1957 | | |
1951 | 1958 | | |
1952 | 1959 | | |
| |||
2209 | 2216 | | |
2210 | 2217 | | |
2211 | 2218 | | |
2212 | | - | |
| 2219 | + | |
| 2220 | + | |
| 2221 | + | |
| 2222 | + | |
| 2223 | + | |
| 2224 | + | |
| 2225 | + | |
2213 | 2226 | | |
2214 | 2227 | | |
2215 | 2228 | | |
| |||
0 commit comments