Commit graph

109 commits

Author SHA1 Message Date
jean-emmanuel
6ba2bd8397 adjust widget's editing overlay to previous commit 2016-03-19 08:33:29 +01:00
jean-emmanuel
aa027ddbf2 using a mix of border and box shadow to get merging outlines and pixel perfect uis 2016-03-19 07:31:20 +01:00
jean-emmanuel
c2eb3cef06 1px wide meters in fader & h-fader meter support 2016-03-18 18:18:41 +01:00
jean-emmanuel
3a5c0d875f new widget : meter (standalone and as a fader option 2016-03-18 18:11:20 +01:00
jean-emmanuel
1eba6b683a store multiples ids vs osc path to update all corresponding widgets 2016-03-18 18:09:01 +01:00
jean-emmanuel
cf159d3d93 h-fader pips style fix 2016-03-18 14:50:33 +01:00
jean-emmanuel
c3ce61a39d editor draggin cursor 2016-03-18 13:03:12 +01:00
jean-emmanuel
60bd47465d px scaling support on the way + some styles updates 2016-03-18 12:53:44 +01:00
jean-emmanuel
f1e384ecc2 allow dragging on the widget's label if available 2016-03-18 08:48:47 +01:00
jean-emmanuel
febe8485d0 move building depencendies to optional, and sass related to dev 2016-03-18 08:31:11 +01:00
jean-emmanuel
16a61aa763 remove remainig widget margin 2016-03-18 08:12:40 +01:00
jean-emmanuel
498abe715f removed helper's position adjustment since widgets don't have margins anymore 2016-03-18 08:04:47 +01:00
jean-emmanuel
bdcf7f91af pretty buttons? 2016-03-18 02:01:51 +01:00
jean-emmanuel
36bfa9a502 add font 2016-03-18 01:47:09 +01:00
jean-emmanuel
bbb1080b93 - major style refactoring, we're going flat flat flat
- stylesheets splitting !
- removed sync.sass.js and css recompile switch : now using node sass and watcher during dev
  - no need to restart the whole app now, ctrl+r just refreshes the window
2016-03-18 01:38:28 +01:00
jean-emmanuel
63c2927958 dragged widget only snap to other widgets 2016-03-16 11:57:43 +01:00
jean-emmanuel
43d72ac8a7 - fixed plot/visualizer sync (check if subscribed widget is in global store, not in document, since tabs are buffered)
- removed button ripple effect entirely
2016-03-16 09:46:51 +01:00
jean-emmanuel
1416867ae8 multifader style update 2016-03-16 02:08:31 +01:00
jean-emmanuel
6622c18b48 also purge when editing matrices 2016-03-16 01:50:46 +01:00
jean-emmanuel
8d66d243b1 more robust stores purging after editing (slower to...) 2016-03-16 01:32:59 +01:00
jean-emmanuel
cdc96ca704 store logscale option to avoid wrong state save/loading when editing this property 2016-03-16 00:06:40 +01:00
jean-emmanuel
1347268cb3 clean 2016-03-15 23:51:59 +01:00
jean-emmanuel
d22fe9e10f state format changed: it is now internally stored as an object and json parsed for export, this ensures widgets values type consistency (switches were not robust to this flaw) 2016-03-15 23:19:35 +01:00
jean-emmanuel
4717d98f2d fixed editors broken features (with new tab system) 2016-03-15 22:59:10 +01:00
jean-emmanuel
aaf296cf9e Huge ui optimization: inactive tabs are now buffered off DOM, this makes the page much lighter and faster since there a fewer elements in the tree 2016-03-15 21:48:47 +01:00
jean-emmanuel
70dcc6fa57 skip if element's size is undefined (ie it's not in the dom) 2016-03-15 21:03:42 +01:00
jean-emmanuel
3964ebbc06 fixed huepad behaviour with traversing gestures enabled 2016-03-15 20:45:44 +01:00
jean-emmanuel
05e136fdd9 put spinner back in #container 2016-03-15 17:10:22 +01:00
jean-emmanuel
c8a4d64d52 some mistakes... 2016-03-15 16:44:18 +01:00
jean-emmanuel
e08af59f75 don't compute size at init, use simple data storing instead of attribute 2016-03-15 16:38:12 +01:00
jean-emmanuel
5ddd4f99f2 cache css color and don't trigger parents resize event 2016-03-15 16:28:13 +01:00
jean-emmanuel
cac75f9251 1ms is not enough 2016-03-15 16:27:48 +01:00
jean-emmanuel
d8053eb632 - don't prevent event default on *start & *end (preventing defaults on *move is good for performance though
- don't check for shiftkey in touchmode
2016-03-15 16:20:14 +01:00
jean-emmanuel
b55cdf5e64 clean init 2016-03-15 15:49:41 +01:00
jean-emmanuel
265e57e12b rename matrix category to matrices 2016-03-15 15:49:26 +01:00
jean-emmanuel
cd1b5cdcd3 cheaper pips dom appending function 2016-03-15 15:48:58 +01:00
jean-emmanuel
cf3900bc16 append objects after parsing their children 2016-03-15 15:22:02 +01:00
jean-emmanuel
38c7908da7 don't compute widget's size init, since the resize event will do that when needed 2016-03-15 14:12:37 +01:00
jean-emmanuel
28e6f177a2 visualizer curve proprerty renamed to widgetId, explicit ftw 2016-03-14 23:51:02 +01:00
jean-emmanuel
05759245fc editor fixes:
- debug line removed
- no pointer positionning when adding widget from tab link
- containers could not be deleted from context menu due to a double variable declaration
2016-03-14 23:36:46 +01:00
jean-emmanuel
7af7e0e83b only sync widget that have the appropriate method 2016-03-14 23:24:45 +01:00
jean-emmanuel
0736cc4d29 widget link fixed (broken since b1886a101c):
- the sync event now carries the linkId, required for proper link sync
- incomming osc messages always trigger the sync event, thus ensuring that plots and links are well synchronized
2016-03-14 23:13:21 +01:00
jean-emmanuel
cbb6ffcfd2 sanitize visualizer data length 2016-03-14 22:01:04 +01:00
jean-emmanuel
c2e1b4b179 create and paste widgets under the pointer 2016-03-14 21:53:37 +01:00
jean-emmanuel
2f673dcd03 differenciate '' from false 2016-03-14 21:37:17 +01:00
jean-emmanuel
e2c9138a32 forgot to rename that method 2016-03-14 21:13:54 +01:00
jean-emmanuel
925694d874 visualizer & plot can receive osc 2016-03-14 20:45:38 +01:00
jean-emmanuel
d435d067ae mutli[toggle|push] compatible with plot 2016-03-14 20:15:07 +01:00
jean-emmanuel
c7ed97e282 - multifader made compatible with plot
- debug line removed
2016-03-14 20:07:18 +01:00
jean-emmanuel
2262bda873 - generic collection support for plot
- traversing gestures don't break editor's inputs
- better editor input eval
2016-03-14 19:36:54 +01:00