Commit graph

2252 commits

Author SHA1 Message Date
jean-emmanuel
b4da3bd4d8 editor: fix paste widget 2018-10-17 16:59:08 +02:00
Martin Hermant
d08bfe3f59
Merge branch 'pure' into pr/show-computed-values-in-help 2018-10-17 16:51:37 +02:00
Martin Hermant
ecb66d5991
show computed value in help 2018-10-17 16:48:26 +02:00
jean-emmanuel
ed4216e607 editor: don't reuse if undo fails to find parent 2018-10-17 16:38:25 +02:00
jean-emmanuel
a4fb88ee70 editor: error in sidepanel child remover 2018-10-17 15:51:21 +02:00
jean-emmanuel
a750083b18 editor: avoid data shifting, reset reused children props 2018-10-17 15:34:06 +02:00
jean-emmanuel
a6d449804e editor: avoid mutating widget's children list twice 2018-10-17 14:53:57 +02:00
jean-emmanuel
fb10a5ce17 editor: fix sidepanl add/remove children action 2018-10-17 14:42:10 +02:00
jean-emmanuel
fe72309074 editor: missing widget removal 2018-10-17 14:21:04 +02:00
jean-emmanuel
8b07976f02 editor: don't try to retrieve props from parents when widget is root 2018-10-17 14:11:11 +02:00
jean-emmanuel
fdb42aa45b editor: rm old code 2018-10-17 14:05:37 +02:00
jean-emmanuel
a2572821ce matrix: dynamic children update fix 2018-10-17 13:57:07 +02:00
jean-emmanuel
44c9661b02 editor: prevent selecting 1st child when not editable 2018-10-17 13:56:41 +02:00
jean-emmanuel
cf9b3f4a9a editor: fix state save at widget update when reuse is false 2018-10-17 13:56:34 +02:00
jean-emmanuel
45ef50e2ec multifader: reset default unit 2018-10-17 13:24:44 +02:00
jean-emmanuel
8481a44cee editor: reuse children in almost every case 2018-10-17 13:14:24 +02:00
jean-emmanuel
48254a2f18 clone: fix memory leak 2018-10-17 13:13:26 +02:00
jean-emmanuel
33a8ad9665 matrix: prevent "props" from overfeeding widget properties when it dosen't resolve 2018-10-17 13:06:32 +02:00
jean-emmanuel
079e9588bf editor: reuse children when possible 2018-10-16 20:39:01 +02:00
jean-emmanuel
8de0bb90f7 clone: fix regression not applying not-editable to all children 2018-10-16 16:23:35 +02:00
jean-emmanuel
ab0fdb85d9 formula: better regexp (no need to escape object closing brackets) 2018-10-16 12:35:03 +02:00
jean-emmanuel
3907721052 canvas: remove useless dom color request 2018-10-16 11:11:37 +02:00
jean-emmanuel
017ab623f8 events: missing context passing 2018-10-16 10:53:34 +02:00
jean-emmanuel
a394dc6dad events: remove wildcard, use widget's hash as context only when adding/removing events 2018-10-16 10:50:26 +02:00
jean-emmanuel
e0558ae14d
Merge pull request #383 from MartinHN/pr/clone_refactor
WIP : clone refactor
2018-10-16 09:52:16 +02:00
jean-emmanuel
87dc9e98dd maths: add extend(x, y) for merging two objects (#387) 2018-10-15 22:50:19 +02:00
jean-emmanuel
65f9dbb011 doubleTap: make sure callback is called after draginit callbacks (fixes snap sliders doubleTap, #386) 2018-10-15 22:32:31 +02:00
Tintamar
77700e766b
fix infinite loop typo 2018-10-15 13:37:18 +02:00
jean-emmanuel
0393a12f46 clone: use children list to disable edition instead of querying the DOM 2018-10-14 12:24:02 +02:00
jean-emmanuel
dae40b1e2b clone: fix cloneTarget updates watch 2018-10-14 12:07:30 +02:00
jean-emmanuel
7bbac1af1c clone: adapt to commit 3261eb1ffb 2018-10-14 11:09:31 +02:00
jean-emmanuel
92ffff651e 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
3261eb1ffb 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
d9d581454c clone: remove unnecessary clean on deletion 2018-10-13 16:50:32 +02:00
jean-emmanuel
b1d83da451 clone: don't reset auto ids (maybe to be added as an option) 2018-10-13 16:49:53 +02:00
Martin Hermant
dc7aa202e6
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
b0f981ffac
better syntax and comments 2018-10-11 14:36:10 +02:00
Martin Hermant
aafa457718
clone : reset parser call to original api 2018-10-11 10:09:05 +02:00
Martin Hermant
4d49f96272
remove circular dependencies, and undefined behaviors 2018-10-11 09:24:16 +02:00
jean-emmanuel
1d7f8b00a1 editor: prevent right-click from changing selection when shift or mod is pressed 2018-10-11 06:45:59 +02:00
jean-emmanuel
08f4ebefab editor: prevent dragging mod + right click 2018-10-11 06:31:28 +02:00
jean-emmanuel
c28c419131 editor: disable lasso on right click 2018-10-11 06:26:36 +02:00
jean-emmanuel
d69994e15a editor: attempt to get a consistent key scheme 2018-10-10 23:41:16 +02:00
jean-emmanuel
af98cd5452 editor: add missing select-area module 2018-10-10 23:21:43 +02:00
jean-emmanuel
1db58c00ec editor: rewrite select lasso without jquery-ui to get decent perfs 2018-10-10 22:42:27 +02:00
jean-emmanuel
4aa7524efa editor: fix some errors and conflicts 2018-10-10 19:18:13 +02:00
jean-emmanuel
ec37bb8e00 editor: enable lasso when mod is pressed 2018-10-10 18:56:18 +02:00
jean-emmanuel
9c421e2f47 editor: disable lasso for now 2018-10-10 18:40:34 +02:00
jean-emmanuel
e0d4146af8 editor: keyboard shortcut mod + a for selecting all siblings 2018-10-10 18:15:11 +02:00
jean-emmanuel
43836be5ff editor: add lasso selection (WIP) 2018-10-10 17:54:32 +02:00