From cf748c63b04db2f44186b2d69b201df951ef67e2 Mon Sep 17 00:00:00 2001 From: Martastain Date: Thu, 25 Apr 2024 23:14:55 +0200 Subject: [PATCH] Added poster frame actions to video preview --- frontend/src/components/Dropdown.jsx | 12 +-- frontend/src/components/Video.jsx | 97 +++++++++++++++---- .../src/containers/Browser/Formatting.jsx | 4 +- frontend/src/pages/AssetEditor/Preview.jsx | 42 ++++++-- 4 files changed, 115 insertions(+), 40 deletions(-) diff --git a/frontend/src/components/Dropdown.jsx b/frontend/src/components/Dropdown.jsx index bc887b97..3914132a 100644 --- a/frontend/src/components/Dropdown.jsx +++ b/frontend/src/components/Dropdown.jsx @@ -60,18 +60,10 @@ const DropdownContainer = styled.div` } ` -const DropdownOption = ({ - currentValue, - separator, - disabled, - ...props -}) => ( +const DropdownOption = ({ currentValue, separator, disabled, ...props }) => ( {separator &&
} -