Commit 7a06d3b
committed
input.lua: only reset cursor if this input set it
Each input that was not being moused over was basically trying to reset
the special cursor if it was set (like a text selection I cursor). This
will be a problem in the upcoming special roomnames editor because
something else wants to display a special cursor with inputs onscreen,
so now the inputs will only reset the special cursor if they themselves
set it first (and they will only set it once and not repeatedly).
[pre11]1 parent f87ce7b commit 7a06d3b
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
| 210 | + | |
209 | 211 | | |
210 | 212 | | |
211 | 213 | | |
| |||
376 | 378 | | |
377 | 379 | | |
378 | 380 | | |
379 | | - | |
380 | | - | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
381 | 386 | | |
382 | 387 | | |
383 | 388 | | |
384 | 389 | | |
385 | | - | |
| 390 | + | |
386 | 391 | | |
| 392 | + | |
387 | 393 | | |
388 | 394 | | |
389 | 395 | | |
| |||
0 commit comments