Commit 1d82b10
committed
Make change event always fire as the user interacts with the knob
That is, when using:
- touch
- wheel
- typing (by binding to the "input" event)
Previously, typing did not update the knob until focus was lost (and
no change event was fired), and
using the keyboard arrows did not fire any change events.
Also move event triggering to val() and change() so it works always
in the same way and less duplication exists.
Similar to aterrien#130 but fixes an issue with `diplayPrevious`1 parent ec05292 commit 1d82b10
2 files changed
+18
-30
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
309 | 310 | | |
310 | 311 | | |
311 | 312 | | |
312 | | - | |
| 313 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
| 162 | + | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | 305 | | |
315 | 306 | | |
316 | 307 | | |
| |||
345 | 336 | | |
346 | 337 | | |
347 | 338 | | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | 339 | | |
356 | 340 | | |
357 | 341 | | |
| |||
516 | 500 | | |
517 | 501 | | |
518 | 502 | | |
519 | | - | |
520 | | - | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
521 | 510 | | |
522 | 511 | | |
523 | 512 | | |
| |||
558 | 547 | | |
559 | 548 | | |
560 | 549 | | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | 550 | | |
568 | 551 | | |
569 | 552 | | |
| |||
691 | 674 | | |
692 | 675 | | |
693 | 676 | | |
| 677 | + | |
694 | 678 | | |
695 | | - | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
696 | 683 | | |
697 | 684 | | |
698 | 685 | | |
| |||
757 | 744 | | |
758 | 745 | | |
759 | 746 | | |
760 | | - | |
| 747 | + | |
0 commit comments