Commit graph

92 commits

Author SHA1 Message Date
jean-emmanuel
6ef7158867 use pixel scaling for zooming (now canvas are always scaled) 2016-03-21 18:22:03 +01:00
jean-emmanuel
b54efd50f2 no need to sanitize ? 2016-03-21 18:03:48 +01:00
jean-emmanuel
fe32cd673e - only use native css variable instead of sass' (theming feature on the way)
- better sidepanel transition
2016-03-21 17:40:56 +01:00
jean-emmanuel
70eedc2d7b id can be any valid string 2016-03-21 16:39:20 +01:00
jean-emmanuel
5d1ff32694 don't write auto determinated label in session 2016-03-21 16:25:21 +01:00
jean-emmanuel
1193bc7733 use native appendChild instead of jquery where possible & optimize fader's pips creation 2016-03-21 14:04:11 +01:00
jean-emmanuel
d13d12d629 improved led and fixed knob overflow 2016-03-21 12:33:48 +01:00
jean-emmanuel
b6f7df2b3f improving widget pasting (smart id/path incrementing) 2016-03-21 11:25:33 +01:00
jean-emmanuel
8e6dad3217 xy custom color 2016-03-20 18:47:01 +01:00
jean-emmanuel
e46cd0072e extend custom color property to containers since inheritance works like charm 2016-03-20 18:45:18 +01:00
jean-emmanuel
0727114bb0 adding custom color support for every widget (using the new css --properties feature) 2016-03-20 18:42:08 +01:00
jean-emmanuel
b6c73c2318 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2016-03-19 16:04:52 +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
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
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
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
cac75f9251 1ms is not enough 2016-03-15 16:27:48 +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