Commit graph

702 commits

Author SHA1 Message Date
jean-emmanuel
c860bc1959 widget: ignore invalid properties (avoid recreating if matrix/clone child has an override for an invalid property) 2025-05-07 09:42:12 +02:00
jean-emmanuel
6a055c620b frame: add allow property 2025-05-05 14:41:24 +02:00
jean-emmanuel
c092951052 canvas: more safe check before drawing 2025-04-20 15:23:48 +02:00
jean-emmanuel
c124c3826f fader/range: reuse pips offscreen canvas instead of creating a new one 2025-04-20 10:35:04 +02:00
jean-emmanuel
5abaf7fbb3 fader/range: really check if pips are ready to be drawn before drawing them 2025-04-20 10:34:20 +02:00
jean-emmanuel
4c9eecd0af scripting: setFocus not working on iOS 2025-04-17 09:07:59 +02:00
jean-emmanuel
4487b6bc4f ranger: missing call for pips drawing 2025-04-08 11:08:42 +02:00
jean-emmanuel
98e5670011 root: hideMenu not working when --read-only is set 2025-04-08 10:32:34 +02:00
jean-emmanuel
6fa3f9862e panel: expose useful event.firstTarget 2025-04-02 10:27:15 +02:00
jean-emmanuel
b5e4add855 eq/plot/visualizer/text/led: unhide interaction property (defaults to false) to allow custom container touch handling 2025-03-25 09:09:22 +01:00
jean-emmanuel
c26c5aaed2 widget base class: deeper defaults extend to allow simpler overrides 2025-03-25 09:07:48 +01:00
jean-emmanuel
720799633b lint: indent fix 2025-03-23 12:18:12 +01:00
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