Commit graph

84 commits

Author SHA1 Message Date
jean-emmanuel
f1e384ecc2 allow dragging on the widget's label if available 2016-03-18 08:48:47 +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
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
jean-emmanuel
ef26460b9b widget store pruning fixed 2016-03-14 18:49:20 +01:00
jean-emmanuel
64bad5d8f4 widgets must have both setValue and getValue methods to be state stored/recalled 2016-03-14 18:33:40 +01:00
jean-emmanuel
b5d4606019 - new visualizer widget
- removed setValue/getValue method where useless
- don't store/recall widget's that don't have these methods
- purge global WIDGETS list after editing
2016-03-14 18:26:19 +01:00
jean-emmanuel
fc86609875 directly check if widget is in dom instead of using jquery event to decide if it has to be updated 2016-03-14 17:43:52 +01:00
jean-emmanuel
10eed99257 use event handler to trig plot drawing (avoid heavy garbage calls after plot is removed from session) 2016-03-14 12:06:02 +01:00
jean-emmanuel
486528e132 change plot's default range 2016-03-14 10:59:07 +01:00
jean-emmanuel
5aa673a1e0 change plot property values to points 2016-03-14 10:57:05 +01:00
jean-emmanuel
b7a042c02a new plot widget 2016-03-14 10:54:13 +01:00
jean-emmanuel
d98c0588bb sync/link event delegation fix (don't sync yourself, widget!) & xy logscaling fix 2016-03-13 16:20:28 +01:00
jean-emmanuel
b1886a101c widget synchronization and linking is now handled with a single event handler (delegation ftw!) 2016-03-13 15:47:19 +01:00
jean-emmanuel
fe35a1333a delegated drag conflict with widgets position dragging fixed 2016-03-13 12:47:39 +01:00
jean-emmanuel
4499ac8c77 display widgets by category in editor's context menu 2016-03-12 17:55:28 +01:00
jean-emmanuel
6626e1f531 add log scale support to multifader 2016-03-12 17:39:26 +01:00
jean-emmanuel
03ba93f16f Traversing gestures switch added to sidepanel 2016-03-12 15:13:54 +01:00