Commit graph

401 commits

Author SHA1 Message Date
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
bc263b7996 typo 2016-03-15 17:06:37 +01:00
jean-emmanuel
83c8de3ac3 split widgets reference, fix typos, try to be accurate... 2016-03-15 17:05:07 +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
1c98434780 display error popup if session file return empty 2016-03-15 16:12:13 +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
506693730c hacking the example 2016-03-14 21:29:39 +01:00
jean-emmanuel
e2c9138a32 forgot to rename that method 2016-03-14 21:13:54 +01:00
jean-emmanuel
748f64377b plot/visualizer docs 2016-03-14 21:04:51 +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
8c09e690f5 add plot exemple 2016-03-14 11:29:07 +01:00
jean-emmanuel
b6e6901ee5 chrome 49 is required to run the demo 2016-03-14 11:23:22 +01:00
jean-emmanuel
b4c42d6b40 plot doc fix 2016-03-14 11:16:35 +01:00
jean-emmanuel
dc7ffa9e3e plot docs and style fix 2016-03-14 11:09:40 +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
jean-emmanuel
d08706e892 ctrlkey for fine control, not shit 2016-03-12 14:40:48 +01:00