Commit graph

1270 commits

Author SHA1 Message Date
jean-emmanuel
3c2d0c1382 ⚠️ long commit:
widgets: modularize last remaining widgets (text & led)
global: new widget manager module to properly handle widgets registration, synchronization events, store purges, and bindings from the dom element to the abstract object
      : remove old setValue / getValue bindings in each widget and use direct access to the abstract objects everywhere
2016-12-07 00:50:22 +01:00
jean-emmanuel
d11b25df7b modal: remove scroll option (always true) & add address option to be controllable externally 2016-12-06 16:21:44 +01:00
jean-emmanuel
37845d6429 modal: remove opened label inner shadow 2016-12-06 15:38:29 +01:00
jean-emmanuel
7357d14dd8 modal: use same border thickness as main navigation 2016-12-06 15:10:14 +01:00
jean-emmanuel
d0c95e002a modal: make closer icon consistent with the ui (alike sidepanel toggle) 2016-12-06 14:58:50 +01:00
jean-emmanuel
b040db1226 modal: fix label's vertical centerering 2016-12-06 14:49:01 +01:00
jean-emmanuel
8c04128a6d modal: don't break panels nested in modals (use more specific selector) 2016-12-06 14:46:02 +01:00
jean-emmanuel
a0dad2bcbb toggle: fix labels vertical centering (take the upper semi-transparent border in consideration) 2016-12-06 12:39:08 +01:00
jean-emmanuel
0b77e808d0 modal: don't transition size, just fade label's background in 2016-12-06 12:26:19 +01:00
jean-emmanuel
c2bff09c58 callbacks: make a method to create a new session 2016-12-06 09:40:18 +01:00
jean-emmanuel
fa75365909 fader: fix horizontal default width (typo) 2016-12-06 09:33:19 +01:00
jean-emmanuel
ec72ed2c76 modal: make sure it's on top when opened 2016-12-06 09:32:42 +01:00
jean-emmanuel
dd51f42aa9 modal: differenciate from toggle button and add some transition effect 2016-12-06 09:27:19 +01:00
jean-emmanuel
c39f42f28f widgets: add new "modal" container 2016-12-05 20:00:18 +01:00
jean-emmanuel
74741eed4e buttons: modularize remaining widgets 2016-12-05 20:00:07 +01:00
jean-emmanuel
15d869a5f6 toggle: modularize code 2016-12-05 19:25:50 +01:00
jean-emmanuel
9ae0e5000a toggle: style: precise targetting target and put label text above color layer 2016-12-05 17:23:17 +01:00
jean-emmanuel
db2754fcde containers: clean 2016-12-05 15:11:59 +01:00
jean-emmanuel
f8857545f5 containers: modularize code 2016-12-05 15:09:35 +01:00
jean-emmanuel
148714e17d launcher: fix bool input color (turn to blue only after validation/start) 2016-12-03 11:56:15 +01:00
jean-emmanuel
768c1ea507 ui: clean scroll handler part (it's been handling only zoom for a long time already) 2016-11-30 18:35:04 +01:00
jean-emmanuel
57a6d4e61b canvas input: prevent resize handler from failing if it's triggered without size data 2016-11-29 22:31:52 +01:00
jean-emmanuel
6528fd076d dev: make clients reload css style automatically when source is updated + watched + rebuilded 2016-11-29 22:30:49 +01:00
jean-emmanuel
2db9b04f86 keyboard: tweak black keys active color 2016-11-29 14:20:28 +01:00
jean-emmanuel
43a2d6f0c7 firefox: more compat fixes (vertical texts, prevent text selection) 2016-11-29 14:10:22 +01:00
jean-emmanuel
e7bf3987da sliders: fix spring when init value equals zero 2016-11-25 18:43:50 +01:00
jean-emmanuel
91b5db7e39 firefox: compatibility fixes 2016-11-25 11:22:32 +01:00
jean-emmanuel
c167bcc1ed multixy: add spring 2016-11-24 15:43:45 +01:00
jean-emmanuel
ca60de3465 sidepanel: open with f10 2016-11-24 15:43:28 +01:00
jean-emmanuel
5c62d7ed55 sliders/xy: add spring option that makes the widget jump back to its initial value when released 2016-11-24 13:52:34 +01:00
jean-emmanuel
06e803a1ee strip: remove extra label border that doesn't do well (the widget's transparent border should be enough) 2016-11-24 11:25:14 +01:00
jean-emmanuel
07d5ec7453 meter: fix default size 2016-11-24 01:02:45 +01:00
jean-emmanuel
93150f893b text: icons support 2016-11-24 01:00:34 +01:00
jean-emmanuel
0c922f8184 ui: simplify icon insertion in labels, using '^' as prefix 2016-11-24 00:57:39 +01:00
jean-emmanuel
4651cc7c5d keyboard: reduce default white color brightness 2016-11-24 00:32:49 +01:00
jean-emmanuel
ce3987a0d7 keyboard: custom colors defs coherence 2016-11-24 00:25:27 +01:00
jean-emmanuel
a3c33a1ff9 keyboard: set a visible default size 2016-11-24 00:23:19 +01:00
jean-emmanuel
66b46dcf0b keyboard: add css var to customize keys color 2016-11-24 00:18:16 +01:00
jean-emmanuel
6a47290a53 matrices: set split default to false 2016-11-23 23:39:27 +01:00
jean-emmanuel
39c3d58bfd matrices: fix inverted split behaviour 2016-11-23 23:38:27 +01:00
jean-emmanuel
fe3f97e0fb matrices: add split option (default to true) and pass preArgs to subwidgets 2016-11-23 23:35:04 +01:00
jean-emmanuel
0ccbe7484b keyboard: fix wrapper value storing and add split option 2016-11-23 23:32:15 +01:00
jean-emmanuel
16adcf2e32 keyboard: clean a bit, add start option and make it send midi note numbers 2016-11-23 23:08:10 +01:00
jean-emmanuel
73473c6b98 widgets: add keyboard 2016-11-23 22:53:51 +01:00
jean-emmanuel
32988a1f3b sliders: take precision into account when checking if value has changed before canceling oscsend if false 2016-11-23 21:01:48 +01:00
jean-emmanuel
aada9f615c panel: use same bg color as strip 2016-11-23 20:18:49 +01:00
jean-emmanuel
3beb69a268 led: fix light size/border to display correctly when small 2016-11-23 14:51:08 +01:00
jean-emmanuel
4189e54399 led: remove incorrect precision lookup that breaks the widget when using floats 2016-11-23 14:41:16 +01:00
jean-emmanuel
3da297bf71 fader: fix compact gauge width (add 1px since the middle coordinate is rounded, we wanna be sure to fill the whole space) 2016-11-23 14:36:41 +01:00
jean-emmanuel
9413247809 knob: convert polar to cartesian instead of rotating the ctx 2016-11-22 22:02:36 +01:00