From 0dec7575221e86f39439b249a5da6044c1a0a9b4 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sat, 26 Jun 2021 10:51:06 +0200 Subject: new timeline.ts schema + editor (pretty much) done --- pages/editor.tsx | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) (limited to 'pages') diff --git a/pages/editor.tsx b/pages/editor.tsx index b217eab..b72d705 100644 --- a/pages/editor.tsx +++ b/pages/editor.tsx @@ -4,6 +4,7 @@ import { animated, useSpring } from 'react-spring'; import { useDrag } from 'react-use-gesture'; import { useMousetrap } from 'use-mousetrap'; +import FadeThroughTransition from '../components/fadethrough'; import { FullScreenControlsRoundedIcon, MenuBarControlsRoundedIcon, @@ -812,9 +813,6 @@ function ProjectSettings() { ; } -// https://material.io/design/navigation/navigation-transitions.html#peer-transitions -// https://material-ui.com/components/transitions/#grow -// https://material-ui.com/components/transitions/#fade function DefaultSettings() { var [nextSlideKeybinds, setNextSlideKeybinds] = useState(['Space', 'n', 'Enter']); var [previousSlideKeybinds, setPreviousSlideKeybinds] = useState(['Backspace', 'p']); @@ -826,7 +824,7 @@ function DefaultSettings() {

Presentation settings

-
+
Controls
Allow remote control during presentation @@ -885,7 +883,7 @@ function DefaultSettings() {
-
+
Keybindings ; } +function KeyframeSettings() { + return <> +

Keyframe settings

+
+
+ Cool +
+
+ ; +} + function zoomAroundPoint(newZoom: number, pivot: number) { var timeline = document.querySelector('.timeline .timelineInner'); var frame = getFrameAtOffset(pivot, global.timeline.zoom.value); @@ -1094,9 +1103,15 @@ export default function Index() {
-
- -
+ + +
} + to={
+ +
} + show={false} + />
-- cgit v1.2.3