mirror of
https://github.com/maputnik/editor.git
synced 2026-06-22 23:27:26 +00:00
Fixed image/video coord labels.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user