Commit graph

401 commits

Author SHA1 Message Date
Aria Minaei
e479d32f3b BasicNumberInput now undos on Escape 2021-11-14 13:15:52 +01:00
Aria Minaei
4d7a4d7f25 BasicStringInput now undos un Escape 2021-11-14 13:10:55 +01:00
Aria Minaei
786f645d0c WIP: Editing curves using the css cubic bezier function 2021-11-13 20:06:17 +01:00
cory-glooh
4a65c6e91c
All prop sequencing (#48) 2021-11-02 14:50:08 +01:00
Aria Minaei
76533d9f82 0.4.7 2021-10-14 18:48:21 +02:00
Jørn Myrland
81578f7925 Extends shortcut for opening & closing the studio
- Should support alt + \ in most cases
- Corrects the shortcut in log message when the studio is hidden
2021-10-12 22:57:56 +02:00
Jørn Myrland
2e4ae0c860 Fixes inconsisten keyboard shortcuts for opening studio
Changes check to use `key` instead of `code`.

related to #34
2021-10-12 22:57:56 +02:00
Aria Minaei
de6161e1cc 0.4.7-rc.1 2021-10-08 11:42:14 +02:00
Aria Minaei
7c0765bff2 Implemented sequence.pointer
This enables observing and reacting to changes to the position of the sequence, as well as its length and playback state.

API docs: https://docs.theatrejs.com/api/core.isequence.pointer.html

Fixes #20

Also provides a stop-gap solution to #32 until we have the API in place.
2021-10-08 11:32:24 +02:00
Jørn Myrland
bf0367bd0d Improves scroll interaction for sequence editor
- Scroll paning (`shift + scroll`) is now synced for the keyframe viewport, easing viewport and scrollbar (Closes #22)
-  Scroll zooming out (`ctrl + scroll down`) is now bounded to avoid zooming out to infinity  (Closes #19)

There is still some quirky behaviour when using scroll to zoom inwards. It does not seem to respect the `pivotPointInUnitSpace` correctly. I've tried fixing it, but I've hit a dead end.
2021-10-04 20:51:53 +02:00
Aria Minaei
1647d91dc5 Dragging on a numeric prop with a range now respects the range.
Fixes #31
2021-10-04 20:10:16 +02:00
Aria Minaei
cf9b35bb4d Renamed the script 'deploy' to 'release' 2021-10-04 14:25:11 +02:00
Aria Minaei
14173fde0a Formatting changes for api docs 2021-10-04 10:39:12 +02:00
Aria Minaei
69c6aa9af2 Lint rule changes 2021-10-02 14:12:25 +02:00
Aria Minaei
90520dfb25 Started adopting api-extractor 2021-10-02 13:48:02 +02:00
Aria Minaei
f273388195 GraphEditor automatically hides if no props are selected 2021-10-01 21:35:51 +02:00
Aria Minaei
4b2a6471dc 0.4.6 2021-10-01 17:49:04 +02:00
Aria Minaei
76a3e53078 Formatting 2021-10-01 17:48:29 +02:00
Or Fleisher
9c5906cce9 Remove NODE_ENV conditional so it shows sequence timeline when NODE_ENV is production too 2021-10-01 11:30:18 -04:00
Aria Minaei
c439cfe947 Updated README 2021-10-01 12:38:43 +02:00
Aria Minaei
0eec2041a3 0.4.5 2021-10-01 12:35:50 +02:00
Aria Minaei
3d56f236e1 0.4.5-dev.3 2021-10-01 12:34:11 +02:00
Aria Minaei
f3367f0719 0.4.5-dev.2 2021-10-01 12:32:38 +02:00
Aria Minaei
c666e69807 Documentation 2021-10-01 11:04:52 +02:00
Aria Minaei
fcfe2cbef4 0.4.5-dev.1 2021-10-01 10:54:49 +02:00
Aria Minaei
4bf6f78a00 Exposed a GainNode from sequence.attachAudio() 2021-10-01 10:46:47 +02:00
Aria Minaei
b3945e2a61 0.4.4 2021-09-30 22:02:45 +02:00
Aria Minaei
4a12a92428 0.4.3 2021-09-30 10:29:39 +02:00
Aria Minaei
3ccef9694f Temporarily disabled compound props' context menu as it's not ready for the next release 2021-09-30 10:27:16 +02:00
Aria Minaei
0e0bb1f3fc Implemented studio.createContentOfSaveFile() 2021-09-30 10:14:32 +02:00
Aria Minaei
995dcd97aa Temporarily allow only number props to be sequenced 2021-09-27 16:37:18 +02:00
Aria Minaei
3f0556b9eb sequence.attachAudio() now accepts any AudioNode as destination 2021-09-27 16:36:06 +02:00
Aria Minaei
91a65752a9 Context menu for compound props
* Make sub-props static
* Reset static sub-props

Also
* Context menu items can now be disabled
2021-09-23 13:55:52 +02:00
Aria Minaei
2c4b317934 0.4.2 2021-09-22 21:18:48 +02:00
Aria Minaei
6b99022220 sequence.attachAudio() now handles autoplay blocking 2021-09-22 13:32:59 +02:00
Aria Minaei
dcf90983a5 Eased type constraints of studio.selection* 2021-09-22 09:30:28 +02:00
Aria Minaei
2232fe5662 0.4.1 2021-09-21 21:25:28 +02:00
Aria Minaei
fe4010c2c6 Properly handle sequence.play({range}) for range[0] > 0.
Fixes #15
2021-09-21 21:22:47 +02:00
Aria Minaei
f48038d649 0.4.0 2021-09-20 11:20:50 +02:00
Aria Minaei
dae14aebbd Implemented stableJsonTringify() 2021-09-20 11:09:30 +02:00
Aria Minaei
631bcba724 More docs and annotations 2021-09-18 21:43:29 +02:00
Aria Minaei
d7542883f7 More docs 2021-09-18 16:31:05 +02:00
Aria Minaei
378d9b7abf 0.4.0-dev.20 2021-09-17 17:32:02 +02:00
Aria Minaei
af336a0a82 Bug fix 2021-09-17 17:23:56 +02:00
Aria Minaei
4eaba1e8d5 Snapping now works in selections too 2021-09-17 17:20:01 +02:00
Aria Minaei
e2e6754de1 Fixed a bug in dragging selections ...
where dragging props of multiple objects would only drag the props of one object
2021-09-17 16:42:22 +02:00
Aria Minaei
385895112b More arg validation rules 2021-09-17 15:41:39 +02:00
Aria Minaei
eb695a1c91 Fixed the tests 2021-09-17 15:37:34 +02:00
Aria Minaei
7815fb2dc3 More API docs 2021-09-17 14:58:26 +02:00
Aria Minaei
a86e220bdc 0.4.0-dev.19 2021-09-14 12:43:58 +02:00