Commit graph

690 commits

Author SHA1 Message Date
jean-emmanuel
5c662ed7ae fader: dynamic knobSize 2025-03-23 12:12:30 +01:00
jean-emmanuel
9f006ad42e canvas: consistent onTouch method with Panel 2025-03-23 01:18:23 +01:00
jean-emmanuel
58febaeb9f panel: avoid error in onTouch if event has no target 2025-03-23 01:15:54 +01:00
jean-emmanuel
bbfe558353 multixy: typo in npoints fix 2025-03-22 15:01:20 +01:00
jean-emmanuel
69fbefdb73 drag: safe user custom inertia and docs 2025-03-21 15:38:58 +01:00
jean-emmanuel
0b3590278c drag: handle 2-fingers / ctrlKey inertia at widget level and allow changing event inertia in containers onTouch 2025-03-21 15:32:33 +01:00
jean-emmanuel
69a8d4b576 drag: let containers see all move events during traversing gestures 2025-03-21 14:46:17 +01:00
jean-emmanuel
4d30880d0f /!\ events: groundwork for containers onTouch scripts:
Drag events are now reverse-bubbling (from parents to child) to allow containers to monitor/control interaction inside them
2025-03-21 09:23:44 +01:00
jean-emmanuel
be90e02935 multixy: better npoints safe check 2025-03-20 09:14:13 +01:00
jean-emmanuel
fae6614d4e multixy: set npoints to minimum 1 to avoid errors 2025-03-19 22:57:46 +01:00
jean-emmanuel
7d0d368a78 script: let console.log take multiple args and format objects correctly 2025-03-19 17:52:27 +01:00
jean-emmanuel
973654b2d7 multixy: fix touch state vs feedback filtering order (dragend event handler sorting) 2025-03-19 13:35:52 +01:00
jean-emmanuel
c0a331ece6 touchstate: misc cleanup 2025-03-19 13:35:36 +01:00
jean-emmanuel
29bcc5fe66 Revert "multixy/range: simultaneous touch releases not working correctly when spring is set and feedback values are received shortly after being sent"
This reverts commit 911c318cc1.
2025-03-19 11:21:48 +01:00
jean-emmanuel
2802b3955a eq: use 1p1z lowpass 2025-03-19 10:13:10 +01:00
jean-emmanuel
662fcf1322 Revert "eq: pointsAttr not updating dynamically" (was already ok)
This reverts commit 0de59ae70e.
2025-03-19 10:00:04 +01:00
jean-emmanuel
0de59ae70e eq: pointsAttr not updating dynamically 2025-03-19 09:55:48 +01:00
jean-emmanuel
1cc3dac24c fader: take user scripts into account when filtering feedback while touched 2025-03-19 09:47:52 +01:00
jean-emmanuel
cd4a8fc3a1 lint: semi colons 2025-03-19 09:47:22 +01:00
jean-emmanuel
8a5790f2f5 fader: fix touch state regression 2025-03-19 09:27:50 +01:00
jean-emmanuel
315f1de6c9 fader: apply touchZone to doubleTap & (partially) mousewheel 2025-03-19 09:15:26 +01:00
jean-emmanuel
be7d472414 eq: use 1p1z highpass 2025-03-19 09:05:49 +01:00
jean-emmanuel
d4297dd4ab multixy: methodize handle hit test 2025-03-17 18:27:24 +01:00
jean-emmanuel
911c318cc1 multixy/range: simultaneous touch releases not working correctly when spring is set and feedback values are received shortly after being sent 2025-03-17 18:22:48 +01:00
jean-emmanuel
6310a6171e multixy: restore rm'ed draw call 2025-03-14 17:18:28 +01:00
jean-emmanuel
8655a2866c advanced syntax/script: print widget id in console.log messages 2025-03-13 11:51:49 +01:00
jean-emmanuel
e84c1d0435 vm: move widget-aware context logic to base vm 2025-03-13 11:49:11 +01:00
jean-emmanuel
fba35f1b84 pads: support percents in `pointSize 2025-03-13 08:04:33 +01:00
jean-emmanuel
8c5eea6bd0 panel: tabsPosition can now be hidden 2025-03-13 07:47:56 +01:00
jean-emmanuel
71fc6c3253 lint: unused var 2025-03-12 18:47:51 +01:00
jean-emmanuel
431b762331 xy: restore optimized clear 2025-03-12 16:50:07 +01:00
jean-emmanuel
848f591930 pads: per-point customization on the way 2025-03-12 15:44:03 +01:00
jean-emmanuel
79e0eee721 sliders/pads: doubleTap can now be "script", in which case onTouch will be called with event.type set to doubleTap 2025-03-12 10:13:49 +01:00
jean-emmanuel
c829d87eae eq/plot: smoother curves 2025-03-11 08:16:04 +01:00
jean-emmanuel
395d4786c4 file: extension can now be an array of strings 2025-03-10 19:55:07 +01:00
jean-emmanuel
f31cc2091c button: locals.touchCoords not updated upon release and incorrect when doubleTap is set 2025-03-10 19:34:26 +01:00
jean-emmanuel
1a564f8458 xy/multixy: change axisLock choices order 2025-03-10 09:05:01 +01:00
jean-emmanuel
0f60d212fa xy/multixy: add auto choice to to axisLock (locks on the first moved axis) 2025-03-10 09:00:45 +01:00
jean-emmanuel
a8a49d4e4e eq: fix indent & add poles to db examples 2025-03-09 13:32:03 +01:00
jean-emmanuel
52012d1ed3 eq: add support for n-poles lowpass and highpass filters with the filter's poles property
eq: adapt sampling frequency to the x-axis range
2025-03-09 13:28:37 +01:00
jean-emmanuel
36bf7197c7 eq: hide logScale props 2025-03-08 13:21:17 +01:00
jean-emmanuel
3766767cb1 canvas: never draw if size is 0 2025-03-08 13:20:51 +01:00
jean-emmanuel
da3b7ff2d2 fader: implement touchZone for compact design 2025-02-28 12:48:58 +01:00
jean-emmanuel
9e4d1419e3 fader: touchZone tweaks 2025-02-27 16:27:25 +01:00
jean-emmanuel
70fe736314 fader: touchZone wrong value name 2025-02-27 15:51:04 +01:00
jean-emmanuel
7c2a85f7d8 fader: add touchZone property 2025-02-27 15:44:01 +01:00
jean-emmanuel
b9edeca691 matrix: tabsPosition should be hidden 2025-02-22 23:53:24 +01:00
jean-emmanuel
dd8da47085 script widget: sometimes e.preventDefault is not defined 2025-02-22 10:05:10 +01:00
jean-emmanuel
c554a23c99 ui: use event.key instead of event.keyCode for various keybindings 2025-02-22 10:04:28 +01:00
jean-emmanuel
389badb113 modal/menu: position issues in scrolled containers 2025-02-16 17:32:16 +01:00