Commit graph

2982 commits

Author SHA1 Message Date
jean-emmanuel
3c6a0a047b widget: remove some dangling handlers 2022-01-12 14:54:24 +01:00
jean-emmanuel
24db0ed984 scrpting: restore legacy touch state feature, deprecate it and replace with a more generic onTouch handler 2022-01-12 14:42:39 +01:00
jean-emmanuel
25bf5d6755 session: session convert warning 2022-01-11 19:12:03 +01:00
jean-emmanuel
6b1f782d33 canvas: expose additional touch event informations (radiusX, radiusY, rotationAngle and iOS-only altitudeAngle, azimuthAngle and touchType) 2022-01-11 19:00:25 +01:00
jean-emmanuel
e466c66052 multixy: prevent leaving empty elements to be consumed by canvas ctx.clearRect() 2022-01-11 17:51:33 +01:00
jean-emmanuel
0178079fb8 import fragment syntax: always import as raw text 2022-01-10 15:41:25 +01:00
jean-emmanuel
708a62613d clean file import syntax bindings 2022-01-10 11:26:06 +01:00
jean-emmanuel
9addc60df6 session: fix accessing session converters by version number 2022-01-10 10:44:39 +01:00
jean-emmanuel
697f3e8acc wip ext file import syntax 2022-01-10 10:43:59 +01:00
jean-emmanuel
e11f994b8f script-vm: rm debug log 2022-01-09 18:10:55 +01:00
jean-emmanuel
7a216a5da7 fragment: unbind fragment-update listener at removal 2022-01-09 17:45:26 +01:00
jean-emmanuel
467b2cd4c2 - renamed script to onValue, draw to onDraw, touch to onTouch
- added `onCreate` script property to all widgets
2022-01-09 12:07:55 +01:00
jean-emmanuel
e8ce280308 script: setTimeout and clearTimeout should return an id 2022-01-08 17:40:33 +01:00
jean-emmanuel
52ecafd04b button.script: fix nasty bug where old value script may be called upon modification validated with a click on the button 2022-01-08 01:33:34 +01:00
jean-emmanuel
58af556065 electron client: add "cut" action to context menu 2022-01-03 12:51:52 +01:00
jean-emmanuel
19bbc1216c misc: sending typed arguments ({type, value} objects) should override the widget's typeTags definition 2021-12-31 12:12:18 +01:00
jean-emmanuel
4ce9506e91 canvas: expose touch events for extra elements added with the html propery 2021-12-22 11:46:09 +01:00
jean-emmanuel
6b76631003 editor: update widget selection rectangle when the widget's size changes 2021-12-20 11:30:46 +01:00
jean-emmanuel
ac33640a42 lint 2021-12-20 11:25:41 +01:00
jean-emmanuel
98b1e05478 editor: keep relative sizes and positions when resizing multiple widgets at a time 2021-12-20 11:21:52 +01:00
jean-emmanuel
447729443f canvas: expose touch pressure (as event.force) in the touch script. 2021-12-19 17:41:17 +01:00
jean-emmanuel
cb68a80309 editor: data loss when leaving the editor's focus with no modifications 2021-12-19 14:28:14 +01:00
jean-emmanuel
818375c57f ui: prevent conflicting alt key binding 2021-12-17 09:56:22 +01:00
jean-emmanuel
80c0f40106 editor: 2 spaces indent; add editor without syntax checking for containter.props 2021-12-17 09:26:20 +01:00
jean-emmanuel
7dcf4afe52 ui: change fragment warning style 2021-12-16 12:15:50 +01:00
jean-emmanuel
db0fd1af05 ui: color scheme balance 2021-12-16 11:29:05 +01:00
jean-emmanuel
681c6f3292 lint 2021-12-15 14:26:06 +01:00
jean-emmanuel
a697eb659d ui: code editor help modal, revert checkboxes margin change 2021-12-15 14:22:49 +01:00
jean-emmanuel
1bed4962e4 ui: tree: change fragment warning position
ui: inspector: change help cursor
2021-12-15 11:37:51 +01:00
jean-emmanuel
ac74d28d0e ui: widget tree tweaks 2021-12-15 11:31:07 +01:00
jean-emmanuel
21982b6bc7 ui: cancel last change 2021-12-14 19:54:35 +01:00
jean-emmanuel
e88908fde4 tabs: style tweak 2021-12-14 19:48:19 +01:00
jean-emmanuel
bfefba5819 ui: remove some accent-color borders 2021-12-14 19:36:47 +01:00
jean-emmanuel
f04c506ce3 root: add hideMenu option 2021-12-14 19:36:33 +01:00
jean-emmanuel
2577a6ea72 editor: minor changes 2021-12-14 18:16:29 +01:00
jean-emmanuel
53bc910853 edutor: use colors instead of icons to indicate lint errors 2021-12-14 15:58:39 +01:00
jean-emmanuel
9cba47f401 editor: quircks 2021-12-14 15:40:56 +01:00
jean-emmanuel
6c8a0dbe55 editor:tooltip style 2021-12-14 13:15:58 +01:00
jean-emmanuel
58872c2814 inspector: better layout for editor 2021-12-14 13:04:08 +01:00
jean-emmanuel
661b2d60b0 ui: reduce ui font weight and tweak inspector 2021-12-14 12:12:28 +01:00
jean-emmanuel
3213dfdbce editor: getting there 2021-12-14 09:59:21 +01:00
jean-emmanuel
fc09b2d444 editor: fix quirck on blur 2021-12-14 09:36:35 +01:00
jean-emmanuel
cd50f76cb4 editor: more tweaks 2021-12-13 23:52:01 +01:00
jean-emmanuel
941252f728 inspector: clean editor theme 2021-12-13 19:15:50 +01:00
jean-emmanuel
7c654e6412 console: attempt to fix line numbers in script errors 2021-12-13 18:56:49 +01:00
jean-emmanuel
fa27696b6f scripting: fix stateGet() 2021-12-13 18:54:11 +01:00
jean-emmanuel
e61202f147 inspector: reset code editor undo history at init 2021-12-13 18:53:50 +01:00
jean-emmanuel
8872d68b7c inspector: code editor tweaks 2021-12-13 17:55:12 +01:00
jean-emmanuel
dfdce7d12c code editor: fix context menu 2021-12-13 13:32:24 +01:00
jean-emmanuel
14604b9d5a editor: prevent error when right clicking on widget from inspector field 2021-12-13 13:25:36 +01:00