jean-emmanuel
b3f1d073b0
switchers: typo
2017-01-03 17:38:37 +01:00
jean-emmanuel
5a38a928bc
switchers: switchers state can"t be send over osc as is, so we just send it for clients sync
2017-01-03 17:29:09 +01:00
jean-emmanuel
29f80ae2bd
switchers: send state through osc
2017-01-03 17:16:20 +01:00
jean-emmanuel
543e78c29c
events: sync event now bubbles to the body from detached tabs
2017-01-03 16:29:54 +01:00
jean-emmanuel
399c66fe1a
crossfader: fix value parsing (correctly interpret incomming osc and value from the slider)
2017-01-03 15:55:06 +01:00
jean-emmanuel
e5af6f7d96
style: fix widget label & switch values padding
2017-01-03 15:32:00 +01:00
jean-emmanuel
4028d2050d
crossfader: fix fader dragging boundaries handling
2017-01-03 15:24:25 +01:00
jean-emmanuel
01022d1631
switchers: only write data if the current state is valid (fix in case therere are multiple switchers synced with different possible values)
2017-01-03 13:04:31 +01:00
jean-emmanuel
5fcb9b6d39
crossfader: fix interpolating arrays
2017-01-03 13:02:25 +01:00
jean-emmanuel
4efb32f0e7
widgets: call an optionnal onRemove() callback method before deleting widgets from manager
...
=> and unbind event handlers attached to the documents root
2017-01-03 12:17:16 +01:00
jean-emmanuel
737af8de1a
matrices: accept multiple colors (options.color is an array)
2017-01-03 08:44:23 +01:00
jean-emmanuel
2a782bf7bb
switcher: fix horizontal layout
2017-01-02 19:20:21 +01:00
jean-emmanuel
9ac4a70fed
switch: fix inconify
2017-01-02 19:13:03 +01:00
jean-emmanuel
2993250613
switch: remove padding and fix icon centering
2017-01-02 19:12:34 +01:00
jean-emmanuel
177af78c4b
widgets: (wip) add switchers widgets
2017-01-02 19:11:53 +01:00
jean-emmanuel
baf338d1ec
switch: unselect and set value to undefined when no value matches
2017-01-02 19:02:20 +01:00
jean-emmanuel
6ae9d03e86
widgets: use JSON object deepcopy in getValue()
2017-01-02 11:25:14 +01:00
jean-emmanuel
1509fb0066
switch: display choice value names when values are defined with an array
2017-01-02 11:24:24 +01:00
jean-emmanuel
3edc282ed3
buttons: use standard getvalue method
2017-01-02 11:23:53 +01:00
jean-emmanuel
68207c2f5b
log: last changes
2017-01-02 11:21:31 +01:00
jean-emmanuel
a84ebbd668
fader: fix horizontal (pass container object to contructor to give it the "horizontal" class)
2016-12-25 12:28:42 +01:00
jean-emmanuel
890230427d
multixy: fix for chrome 49 (css calc() bug)
2016-12-25 12:26:26 +01:00
jean-emmanuel
3dab1399bb
widgets: layout fixes in chrome 49
2016-12-25 12:13:14 +01:00
jean-emmanuel
9d4ebb1d1e
:warning long commit:
...
rewrite all widget classes using ES6 class expressions, much cleaner
this sets firefox version requirement to 46 because of a bug in v45 with spread arguments
2016-12-17 15:26:58 +01:00
jean-emmanuel
80352844f0
osc: fix routing received osc messages with preArgs (typo)
2016-12-14 00:23:33 +01:00
jean-emmanuel
4a606b8109
debug: load the source map and print errors in the main process' stdout (add a source map file parser)
2016-12-13 22:37:26 +01:00
jean-emmanuel
c3804d640c
misc: move /jquery to /libs
2016-12-13 22:23:13 +01:00
jean-emmanuel
7145b53a0f
ui: revert font size to 13
2016-12-13 13:27:02 +01:00
jean-emmanuel
346513dca1
canvas input: retreive font-size from css
2016-12-13 13:24:17 +01:00
jean-emmanuel
cf8130e589
editor: use a class on body to toggle the grid's visibility
2016-12-13 13:20:30 +01:00
jean-emmanuel
2437c07ff4
editor: fix firefox add-widget position from click coords (precompute them)
2016-12-13 12:52:40 +01:00
jean-emmanuel
a54175599e
editor: use scope variable to avoid complicated closure pattern
2016-12-13 12:50:30 +01:00
jean-emmanuel
a45118e248
fullscreen: fix exit in chrome (state detection variable name error)
2016-12-13 08:51:30 +01:00
jean-emmanuel
b9a6459bac
code: missing coma (declaring global by mistake)
2016-12-13 08:47:30 +01:00
jean-emmanuel
47a5813606
resize: fix teardown old usage
2016-12-13 08:15:38 +01:00
jean-emmanuel
53c1475e0f
canvas widget: optimize css color vars get; fix multixy resize handler
2016-12-13 08:14:27 +01:00
jean-emmanuel
06b22245b1
canvas widget base: clean
2016-12-12 16:00:38 +01:00
jean-emmanuel
97834aeb91
canvas input: clean && apply last commit's spirit
2016-12-12 15:59:52 +01:00
jean-emmanuel
d9711e27a6
resize: compute size only once the handler; make sure css color vars are only retreived at first resize / when css changes
2016-12-12 15:46:53 +01:00
jean-emmanuel
3f61d34722
resize: no more polling loop (all resize can be predicted and manually triggered); don't trigger jquery event, just store the handler in the dom object and call it
2016-12-12 14:55:51 +01:00
jean-emmanuel
c261a9d630
osc: don't try to update widgets that don't have setValue method
2016-12-12 14:04:46 +01:00
jean-emmanuel
77db6be35f
resize: polling is already started at setup time
2016-12-12 14:03:23 +01:00
jean-emmanuel
db5deed280
resize: optimize: batch reads and writes operation to prevent layout trashing / reflow; check is element is in dom tree before any computation
2016-12-12 13:23:58 +01:00
jean-emmanuel
7cb7c806c3
resize handler: run only one loop and trigger the handler when zoom level changes
2016-12-12 13:09:34 +01:00
jean-emmanuel
9ef7a63520
ui: fix popup's title padding when there's no closer
2016-12-12 12:20:22 +01:00
jean-emmanuel
d0f0d41dd5
editor: allow very narrow sizes
2016-12-12 12:08:06 +01:00
jean-emmanuel
4a6b0faa93
canvas: safe ctx.arc against negative radius
2016-12-12 12:04:45 +01:00
jean-emmanuel
5a2cc55108
editor: remove grid fade, the masking element messes with layout in scrolled containers
2016-12-12 11:51:25 +01:00
jean-emmanuel
720c49331b
editor: fade the grid in
2016-12-12 06:43:17 +01:00
jean-emmanuel
6209b67a1e
editor: make sure grid width input updates after every event
2016-12-12 06:42:40 +01:00