diff --git a/src/app/WardrobePage/OutfitControls.js b/src/app/WardrobePage/OutfitControls.js index 9f781a4..4dea405 100644 --- a/src/app/WardrobePage/OutfitControls.js +++ b/src/app/WardrobePage/OutfitControls.js @@ -2,6 +2,7 @@ import React from "react"; import { css, cx } from "emotion"; import { Box, + Button, DarkMode, Flex, IconButton, @@ -88,9 +89,9 @@ function OutfitControls({ outfitState, dispatchToOutfit }) { padding={{ base: 2, lg: 6 }} display="grid" overflow="auto" - gridTemplateAreas={`"back sharing" - "space space" - "picker picker"`} + gridTemplateAreas={`"back play-pause sharing" + "space space space" + "picker picker picker"`} gridTemplateRows="auto minmax(1rem, 1fr) auto" className={cx( css` @@ -139,6 +140,11 @@ function OutfitControls({ outfitState, dispatchToOutfit }) { d="inline-flex" // Not sure why requires this to style right! ^^` /> + + + + + - - - @@ -246,17 +249,25 @@ function CopyLinkButton({ outfitState }) { function PlayPauseButton() { const [isPaused, setIsPaused] = useLocalStorage("DTIOutfitIsPaused", true); - const label = isPaused ? "Start animations" : "Stop animations"; return ( - - - : } - aria-label={label} - onClick={() => setIsPaused(!isPaused)} - /> - - + ); }