Commit e0fa3fd
committed
Ensure no multiple capital letters appear without using delay
This fixes the issue of capitalizing two letters when SHIFT is active,
but it does not use delay. It instead always updates shift state right
right after a key press, to ensure it is in the right state as soon as
next key is typed. This removes the delay added in #210.1 parent 25918d4 commit e0fa3fd
File tree
2 files changed
+7
-10
lines changed- app/src/main/kotlin/com/simplemobiletools/keyboard
- services
- views
2 files changed
+7
-10
lines changedLines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| 263 | + | |
263 | 264 | | |
264 | 265 | | |
265 | 266 | | |
266 | 267 | | |
267 | 268 | | |
268 | | - | |
269 | | - | |
270 | | - | |
| 269 | + | |
271 | 270 | | |
272 | 271 | | |
273 | 272 | | |
| |||
Lines changed: 5 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1218 | 1218 | | |
1219 | 1219 | | |
1220 | 1220 | | |
1221 | | - | |
1222 | | - | |
| 1221 | + | |
1223 | 1222 | | |
1224 | | - | |
1225 | | - | |
1226 | | - | |
1227 | | - | |
1228 | | - | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
1229 | 1227 | | |
1230 | 1228 | | |
1231 | 1229 | | |
| |||
0 commit comments