Commit graph

2542 commits

Author SHA1 Message Date
jean-emmanuel
aace4d5111 editor: rm old code 2018-10-17 14:05:37 +02:00
jean-emmanuel
52a3665770 matrix: dynamic children update fix 2018-10-17 13:57:07 +02:00
jean-emmanuel
26099e5152 editor: prevent selecting 1st child when not editable 2018-10-17 13:56:41 +02:00
jean-emmanuel
e2d5938145 editor: fix state save at widget update when reuse is false 2018-10-17 13:56:34 +02:00
jean-emmanuel
4c87ff0237 multifader: reset default unit 2018-10-17 13:24:44 +02:00
jean-emmanuel
171544a3d2 editor: reuse children in almost every case 2018-10-17 13:14:24 +02:00
jean-emmanuel
4742303418 clone: fix memory leak 2018-10-17 13:13:26 +02:00
jean-emmanuel
da8a77e577 matrix: prevent "props" from overfeeding widget properties when it dosen't resolve 2018-10-17 13:06:32 +02:00
jean-emmanuel
bff8ab69ba editor: reuse children when possible 2018-10-16 20:39:01 +02:00
jean-emmanuel
85c5b85972 clone: fix regression not applying not-editable to all children 2018-10-16 16:23:35 +02:00
jean-emmanuel
20128b3327 formula: better regexp (no need to escape object closing brackets) 2018-10-16 12:35:03 +02:00
jean-emmanuel
2ca4ff2715 canvas: remove useless dom color request 2018-10-16 11:11:37 +02:00
jean-emmanuel
6da2d1e425 events: missing context passing 2018-10-16 10:53:34 +02:00
jean-emmanuel
ec34aed028 events: remove wildcard, use widget's hash as context only when adding/removing events 2018-10-16 10:50:26 +02:00
jean-emmanuel
4204682ca4 Merge pull request #383 from MartinHN/pr/clone_refactor
WIP : clone refactor
2018-10-16 09:52:16 +02:00
jean-emmanuel
4a352efa00 maths: add extend(x, y) for merging two objects (#387) 2018-10-15 22:50:19 +02:00
jean-emmanuel
51aefb7b94 doubleTap: make sure callback is called after draginit callbacks (fixes snap sliders doubleTap, #386) 2018-10-15 22:32:31 +02:00
Tintamar
19dd76e6bb fix infinite loop typo 2018-10-15 13:37:18 +02:00
jean-emmanuel
1d05bcbbeb clone: use children list to disable edition instead of querying the DOM 2018-10-14 12:24:02 +02:00
jean-emmanuel
3e87c2f8ca clone: fix cloneTarget updates watch 2018-10-14 12:07:30 +02:00
jean-emmanuel
e520311743 clone: adapt to commit 94da9103e6 2018-10-14 11:09:31 +02:00
jean-emmanuel
aa9d2cdc6b Merge commit 'refs/pull/383/head' of github.com:jean-emmanuel/open-stage-control into clone-refactor 2018-10-14 11:05:30 +02:00
jean-emmanuel
94da9103e6 widgets: use list of child instances instead of hashes; let 'widget-removed' traverse the widget structure 2018-10-14 11:01:42 +02:00
jean-emmanuel
bc954552ce clone: remove unnecessary clean on deletion 2018-10-13 16:50:32 +02:00
jean-emmanuel
0bd29cc3ea clone: don't reset auto ids (maybe to be added as an option) 2018-10-13 16:49:53 +02:00
Martin Hermant
25944ad60b add auto detection of id created automatically to allow to have different id when cloning (can be done via dynamic props too ) 2018-10-11 14:38:54 +02:00
Martin Hermant
3671f8317b better syntax and comments 2018-10-11 14:36:10 +02:00
Martin Hermant
e20fda493d clone : reset parser call to original api 2018-10-11 10:09:05 +02:00
Martin Hermant
de14bf39d7 remove circular dependencies, and undefined behaviors 2018-10-11 09:24:16 +02:00
jean-emmanuel
652aa693cd editor: prevent right-click from changing selection when shift or mod is pressed 2018-10-11 06:45:59 +02:00
jean-emmanuel
3b39fcc8ad editor: prevent dragging mod + right click 2018-10-11 06:31:28 +02:00
jean-emmanuel
4555a233cc editor: disable lasso on right click 2018-10-11 06:26:36 +02:00
jean-emmanuel
9ae6dacabc editor: attempt to get a consistent key scheme 2018-10-10 23:41:16 +02:00
jean-emmanuel
ac36ad6629 editor: add missing select-area module 2018-10-10 23:21:43 +02:00
jean-emmanuel
45355fbe09 editor: rewrite select lasso without jquery-ui to get decent perfs 2018-10-10 22:42:27 +02:00
jean-emmanuel
a0bb6e75e1 editor: fix some errors and conflicts 2018-10-10 19:18:13 +02:00
jean-emmanuel
0cce15c46c editor: enable lasso when mod is pressed 2018-10-10 18:56:18 +02:00
jean-emmanuel
da18760626 editor: disable lasso for now 2018-10-10 18:40:34 +02:00
jean-emmanuel
61a53c2e14 editor: keyboard shortcut mod + a for selecting all siblings 2018-10-10 18:15:11 +02:00
jean-emmanuel
b43c13079f editor: add lasso selection (WIP) 2018-10-10 17:54:32 +02:00
jean-emmanuel
46a2ed387e ui: avoid jquery weird bug with preventDefault 2018-10-10 17:43:10 +02:00
jean-emmanuel
266a5a18b9 editor: fix samelevel select check 2018-10-10 16:41:31 +02:00
jean-emmanuel
2a00d8a40b editor: resolve widget level automatically when attempting to select multiple widgets 2018-10-10 15:59:18 +02:00
jean-emmanuel
78a5d496ab editor: remove attempt to add multi select to keyboard navigation 2018-10-10 15:47:17 +02:00
jean-emmanuel
5621ba3d13 lint: editor pr #382 2018-10-10 15:31:47 +02:00
jean-emmanuel
82b3179d30 pr/editor-traversing-shortcuts: fix widget check 2018-10-10 15:16:15 +02:00
jean-emmanuel
5eb225ee14 pr/editor-traversing-shortcuts: check if widgets still exist 2018-10-10 15:08:38 +02:00
Martin Hermant
0b183a98d3 remove old comment 2018-10-10 14:44:16 +02:00
Martin Hermant
a6c08bcc4e much simpler implementation using hashes 2018-10-10 14:40:55 +02:00
Martin Hermant
0c2035521c clean syntax 2018-10-10 14:07:57 +02:00