Commit graph

142 commits

Author SHA1 Message Date
jean-emmanuel
0a868a71b5 Mouse/touch dragging handler rewritten
now using event delegation and direct handler calls instead of DOM event bubbling whenever it's possible
2016-04-07 15:49:30 +02:00
jean-emmanuel
7dc078cbd4 knob/fader: right click / long touch triggers value input focus 2016-04-05 00:02:05 +02:00
jean-emmanuel
65457bfb3a received osc args as one item arrays are already unpacked on the engine's side (osc.js) 2016-04-04 22:20:05 +02:00
jean-emmanuel
32a891cfba don't increment empty widget data 2016-04-04 11:13:51 +02:00
jean-emmanuel
b97ba230a7 compact multifader and default knob compact set to false 2016-04-04 10:15:25 +02:00
jean-emmanuel
0a6db1dd7f compact option for knob + docs about compact 2016-04-04 10:11:30 +02:00
jean-emmanuel
86f5f5f461 dont create pip elements if not needed (noPip||compact) 2016-04-04 07:59:59 +02:00
jean-emmanuel
348918ccdc give fader's color prop to inner meter 2016-04-03 20:51:04 +02:00
jean-emmanuel
11a1d5a5ab adding compact option to fader (wip) 2016-04-03 18:41:16 +02:00
jean-emmanuel
d53760e6c1 flat buttons and knobs, for consistency's sake 2016-04-01 20:22:40 +02:00
jean-emmanuel
3b5fabcc8b let's make the lobby suck a little bit less 2016-04-01 00:16:12 +02:00
jean-emmanuel
54c13c3ad3 change subwidgets' id pattern (same as path) 2016-03-30 17:22:08 +02:00
jean-emmanuel
df1c2d26f4 rename absolute prop to snap 2016-03-30 17:04:36 +02:00
jean-emmanuel
cfd90db8aa disable pips creation in constructor 2016-03-29 15:00:38 +02:00
jean-emmanuel
238acbdf8d make the push not update its own led and give it's value (for state save and widget sync) based on its last changed property (led state or touch on/off) 2016-03-29 14:48:32 +02:00
jean-emmanuel
a41d9f8aac fix knob starting value (broken when porting fader's scale system to knob) 2016-03-29 08:51:02 +02:00
jean-emmanuel
d657ec7ef6 add "noPip" option to fader & knob (hide pip scale and frees some space) 2016-03-29 08:49:06 +02:00
jean-emmanuel
bf0173c251 add breakpoint scale support to knob 2016-03-29 08:29:16 +02:00
jean-emmanuel
0b4548a2b9 prevent sending the same value over osc when interracting (mouse/touch) with a widget in a way that doens't change it's value 2016-03-29 08:05:55 +02:00
jean-emmanuel
a800ac7ab4 add support for custom pip labels for faders 2016-03-28 17:28:40 +02:00
jean-emmanuel
ed6d54b41a - serve headless js bundled, move browserify to dev deps
- clean fader, use classical transform for meter as well
2016-03-26 07:50:17 +01:00
jean-emmanuel
1eb402227b clean fader 2016-03-26 07:34:31 +01:00
jean-emmanuel
c2bb5216b6 - add middleware varible for custom color to prevent overriding editing related colors
- use classic transforms for fader instead of tricky 3d rotation
2016-03-25 17:00:52 +01:00
jean-emmanuel
010fab2248 less pips for faders & set custome color on root widget's root element to allow css overriding 2016-03-25 09:01:22 +01:00
jean-emmanuel
aed0812b04 - removed knob pan option (looked too ugly, use css var to hide gauge instead)
- knob/fader/toggle gauge width reduced to 2px, looks slicker
2016-03-25 01:29:33 +01:00
jean-emmanuel
d0807097e8 fader's pips reworked: now using tricky gradient instead of 100x small elements 2016-03-24 00:50:36 +01:00
jean-emmanuel
3df3b18193 fixed memory leak when loading a new session (old cached tabs not purged, not garbage collected) 2016-03-23 23:43:27 +01:00
jean-emmanuel
22531c8051 lighter tab click event handling 2016-03-23 18:49:23 +01:00
jean-emmanuel
7ad8fa680f smart pasting id indenter: preregister new id to ensure other widgets in the clipboard won't use it 2016-03-23 15:49:35 +01:00
jean-emmanuel
d76786baf5 panel "noscroll" option and text "vertical" option, + some style clean 2016-03-23 15:05:02 +01:00
jean-emmanuel
cbbe42d038 single element args array unpacking (fixes cross app sync for widgets that don't accept arrays) 2016-03-23 13:34:49 +01:00
jean-emmanuel
7e24a58aa1 - strict typechecking and value caching instead of class checking in toggle & push
- push doesn't fire its 'on' value if pressed while stuck in 'on' position (ie synchronized with a toggle)
2016-03-23 11:48:45 +01:00
jean-emmanuel
980c454d3c clean plots 2016-03-23 00:18:46 +01:00
jean-emmanuel
845a906f96 new text widget & clean widgets declaration 2016-03-23 00:16:06 +01:00
jean-emmanuel
1e5efdba5c fix smart id indenting with new path/preArgs 2016-03-22 23:05:37 +01:00
jean-emmanuel
b06bad1596 align option for fader 2016-03-22 22:28:57 +01:00
jean-emmanuel
c32c4b8831 use native loop instead of jquery 2016-03-22 21:15:25 +01:00
jean-emmanuel
41cbd001c5 debug line removed 2016-03-22 21:15:16 +01:00
jean-emmanuel
71be04b8fe -fix widget linking (see previous commit) and stateSet function (set all widgets without triggering the sync event)
-fix widget purging : now triggered at each edit, but purging tabs only when needed
2016-03-22 21:01:25 +01:00
jean-emmanuel
9747397f59 fix widget sync event handler (was firing everything twice since widgets were not recognizing themselves) 2016-03-22 20:26:33 +01:00
jean-emmanuel
f7422f6755 clean parser and auto convert target as string to array 2016-03-22 18:28:19 +01:00
jean-emmanuel
49e7ad8572 fix visualizer osc value plot timing 2016-03-22 17:44:18 +01:00
jean-emmanuel
d953cd4850 change widget path/preArgs delimiter 2016-03-22 17:23:29 +01:00
jean-emmanuel
cd8dd6f7bb sanitize widget's value input, avoid unwanted sync between widget with preArgs and widgets without 2016-03-22 17:13:30 +01:00
jean-emmanuel
44da95dcec new feature : preArgs option to prepend constant values in widgets' osc messages 2016-03-22 16:52:34 +01:00
jean-emmanuel
73f482b3e0 allow multiple themes 2016-03-22 13:12:24 +01:00
jean-emmanuel
f7ec2c3608 fix pixel ratio change check 2016-03-21 22:54:22 +01:00
jean-emmanuel
94b9c99319 use flexbox everywhere to make input removal possible 2016-03-21 22:53:28 +01:00
jean-emmanuel
6574b8465a - theming support added
- not caching fake input color as private var because it doesn't work with themes
2016-03-21 19:48:26 +01:00
jean-emmanuel
03234da984 change matrices sub widgets ids 2016-03-21 18:47:49 +01:00