Commit graph

185 commits

Author SHA1 Message Date
Aria Minaei
824fdd6843 Progress with cra 2021-08-07 22:30:29 +02:00
Aria Minaei
1497eaf610 WIP: Getting r3f to work with create-react-app
* Temporarily disabled ESM bundles because the current setup confuses webpack4 (but not parceljs). Since create-react-app uses webpack4, not doing this would make theatre incompatible with CRA.
2021-08-07 21:41:07 +02:00
Aria Minaei
7c759f2f6d Made plugin-r3f render on demand 2021-08-07 21:17:29 +02:00
Aria Minaei
1f1f464758 WIP: A CRA example 2021-08-07 20:54:28 +02:00
Aria Minaei
0b783b82f7 Fixed the bug where chords would stay active when user switches to another window 2021-08-07 13:13:07 +02:00
Aria Minaei
62f363f6d4 Fixed the bug where Theatre's UI embedded in 3rd-party shadow dom wouldn't receive pointer events. 2021-08-07 13:12:35 +02:00
Aria Minaei
816e67a814 Stronger visual feedback for keyframe snapping 2021-08-07 11:18:01 +02:00
Aria Minaei
f4c2fb2a08 Moved examples to a separate folder 2021-08-06 12:00:19 +02:00
Aria Minaei
d93b1a18d2 0.4.0-dev.8 2021-08-06 11:47:08 +02:00
Aria Minaei
1f269a0b77 Fixed the path bug in yarn deploy 2021-08-06 11:46:46 +02:00
Aria Minaei
8754de9e7f Added prettier to yarn deploy 2021-08-06 11:44:20 +02:00
Aria Minaei
327298f089 Corrected plugin-r3f's deps 2021-08-06 11:43:33 +02:00
Aria Minaei
5182865412 Removed the '$' character from commit message of $ yarn deploy 2021-08-06 11:15:32 +02:00
Aria Minaei
8a06f216a0 $'0.4.0-dev.7' 2021-08-05 23:38:28 +02:00
Aria Minaei
a7f464d3f2 Streamlined yarn deploy 2021-08-05 23:37:59 +02:00
Aria Minaei
a34a02b599 Added option to skip linting in the deploy script 2021-08-05 22:58:01 +02:00
Aria Minaei
792850260a Fix for the snapping issue that occurs in production build 2021-08-05 17:23:37 +02:00
Aria Minaei
6e87323d7a 0.4.0-dev.6 2021-08-05 14:14:14 +02:00
Aria Minaei
74d718f652 Another one of those fixes 2021-08-05 14:13:05 +02:00
Aria Minaei
f11da93840 Fix for the cursor conflict bug in firefox 2021-08-05 14:10:28 +02:00
Aria Minaei
efad07011a 0.4.0-dev.5 2021-08-05 13:40:25 +02:00
Aria Minaei
5d315b8128 Fix for the bug where context menus aren't clickable 2021-08-05 13:38:51 +02:00
Aria Minaei
ffe8971c55 Finished the deploy script 2021-08-04 22:59:30 +02:00
Aria Minaei
c2b5dca63b Simplified the deployment script
* Implemented yarn run deploy, which deploys all packages to npm, with the same version assigned to all of them.
2021-08-04 21:51:25 +02:00
Aria Minaei
4395c62b17 Playhead has a larger hit zone for snapping 2021-08-03 23:58:45 +02:00
Aria Minaei
197d59e4c4 Keyframe snapping
* Implemented useCursorLock() to lock the cursor icon during a gesture
* Keyframes now snap to other keyframes
* Keyframes snap to the playhead
* The playhead also snaps to keyframes
2021-08-03 23:56:04 +02:00
Aria Minaei
e6bfd999a2 Keyframe drag snapping 2021-08-03 12:17:10 +02:00
Aria Minaei
ae66ea90c6 LengthIndicator has a popover editor 2021-08-02 23:02:38 +02:00
Aria Minaei
ab37d1b21d Style and placement logic for usePopover() 2021-08-02 23:02:03 +02:00
Aria Minaei
58e9d9ff8b Editor popover for SequenceLengthIndicator 2021-08-02 21:06:58 +02:00
Aria Minaei
3745ce02ff UX tweak
* Playhead doesn't get occluded by other elements anymore
2021-08-02 15:03:38 +02:00
Aria Minaei
6d52d5d485 UX improvements
* SequenceLengthIndicator has a cleaner look
* It displays the time in the basic format now
2021-08-02 14:43:08 +02:00
Aria Minaei
314e46c6cf Style tweak 2021-08-01 18:14:20 +02:00
Aria Minaei
74b6f93872 Cleaner API for useFrameStampPosition() 2021-08-01 18:09:07 +02:00
Aria Minaei
0a3c699180 UX Improvements
* Length of the sequence has a clear indicator now
* The frame stamp snaps to the time of keyframes when they're hovered
* The frame stamp hides when hovering over elements over which it wouldn't be helpful
2021-08-01 17:43:59 +02:00
Aria Minaei
c6c37992ac LengthIndicator is now draggable 2021-08-01 09:55:43 +02:00
Aria Minaei
acf0283449 Indicate length of the sequence 2021-07-31 16:28:51 +02:00
Aria Minaei
2daa270879 UX improvements
* When clicking on empty space in the snapshot editor, the selection reverts to the sheet containing the scene
2021-07-31 15:10:08 +02:00
Aria Minaei
0f7d918547 Added discord link 2021-07-31 13:40:37 +02:00
Aria Minaei
a695f3a1d6 Update docs links 2021-07-31 13:38:53 +02:00
Aria Minaei
66b6247d68 Tweaks to OutlinePanel 2021-07-30 22:00:02 +02:00
Aria Minaei
78935499ff Style tweak 2021-07-30 18:56:31 +02:00
Aria Minaei
274022100a Removed cam.aspect from the props 2021-07-30 16:31:40 +02:00
Aria Minaei
65463dfdc6 deprecate bindToCanvas() in favor of <Wrapper> 2021-07-30 16:31:18 +02:00
Aria Minaei
e108caee93 Added other props to SnapshotEditor Camera 2021-07-30 12:14:47 +02:00
Aria Minaei
215cd880f0 UX Improvements
* The cam state of SnapshotEditor cameras now persist
* Title bar for the prop editor
* Cleaned up the toolbar
2021-07-30 10:59:59 +02:00
Aria Minaei
d621794280 Style tweaks 2021-07-26 18:02:08 +02:00
Aria Minaei
307588dd31 Style tweaks 2021-07-26 15:33:07 +02:00
Aria Minaei
2ad093d3e3 UX tweak 2021-07-26 14:30:39 +02:00
Aria Minaei
dfb1a6ff01 Added play/pause keyboard shortcut 2021-07-26 14:30:09 +02:00