Fixed image/video coord labels.

This commit is contained in:
orangemug 2020-01-19 15:48:11 +00:00
parent 33e04b3527
commit 096e2b6aec

View file

@ -117,7 +117,7 @@ class ImageSourceEditor extends React.Component {
})} })}
/> />
</InputBlock> </InputBlock>
{["top", "left", "bottom", "right"].map((label, idx) => { {["top left", "top right", "bottom right", "bottom left"].map((label, idx) => {
return ( return (
<InputBlock label={`Coord ${label}`} key={label}> <InputBlock label={`Coord ${label}`} key={label}>
<ArrayInput <ArrayInput
@ -167,7 +167,7 @@ class VideoSourceEditor extends React.Component {
onChange={changeUrls} onChange={changeUrls}
/> />
</InputBlock> </InputBlock>
{["top", "left", "bottom", "right"].map((label, idx) => { {["top left", "top right", "bottom right", "bottom left"].map((label, idx) => {
return ( return (
<InputBlock label={`Coord ${label}`} key={label}> <InputBlock label={`Coord ${label}`} key={label}>
<ArrayInput <ArrayInput