From 4d5d2689e58afa86ba3d578cda1096dd3cb0e7ca Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sat, 19 Jun 2021 19:25:41 +0200 Subject: on screen controls selection --- pages/editor.tsx | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) (limited to 'pages/editor.tsx') diff --git a/pages/editor.tsx b/pages/editor.tsx index 0ab0307..6273dc6 100644 --- a/pages/editor.tsx +++ b/pages/editor.tsx @@ -4,7 +4,12 @@ import { animated, useSpring } from 'react-spring'; import { useDrag } from 'react-use-gesture'; import create from 'zustand'; -import { PressureIcon, SlideKeyframe } from '../components/icons'; +import { + FullScreenControlsRoundedIcon, + MenuBarControlsRoundedIcon, + PressureIcon, + SlideKeyframe, +} from '../components/icons'; import PlaySkipIconAni from '../components/play-skip'; import Selection from '../components/selection'; import { anySlide, loopBeginSlide, loopSlide, slide, slideTypes, toolToSlide } from '../timeline'; @@ -13,6 +18,10 @@ import { TimedVideoPlayer } from './present'; import AppBar from '@material-ui/core/AppBar'; import Button from '@material-ui/core/Button'; import Fab from '@material-ui/core/Fab'; +import FormControl from '@material-ui/core/FormControl'; +import InputLabel from '@material-ui/core/InputLabel'; +import MenuItem from '@material-ui/core/MenuItem'; +import Select from '@material-ui/core/Select'; import Slider from '@material-ui/core/Slider'; import Switch from '@material-ui/core/Switch'; import Toolbar from '@material-ui/core/Toolbar'; @@ -22,6 +31,7 @@ import ToggleButton from '@material-ui/lab/ToggleButton'; import ToggleButtonGroup from '@material-ui/lab/ToggleButtonGroup'; import Icon from '@mdi/react'; +import ArrowDropDownRoundedIcon from '@material-ui/icons/ArrowDropDownRounded'; import FullscreenRoundedIcon from '@material-ui/icons/FullscreenRounded'; import NavigateBeforeRoundedIcon from '@material-ui/icons/NavigateBeforeRounded'; import NavigateNextRoundedIcon from '@material-ui/icons/NavigateNextRounded'; @@ -629,6 +639,50 @@ function DefaultSettings() { Allow remote control during presentation + + On-screen controls + +
Cool temporary buttons -- cgit v1.2.3