| | |
| | | '': '', |
| | | '': '', |
| | | '': '', |
| | | 'map.settings.sub.copy.undo.last.copies': 'Undo Last Copies', |
| | | 'map.settings.sub.copy.rule': 'Copy Rule', |
| | | 'map.settings.sub.copy.dire': 'Direction', |
| | | 'map.settings.sub.copy.count': 'Count', |
| | |
| | | |
| | | {/* copy */} |
| | | <Col span={24}> |
| | | <Row gutter={24}> |
| | | <Col span={18}> |
| | | <Row gutter={0}> |
| | | <Col span={20}> |
| | | <Form.Item |
| | | label={intl.formatMessage({ id: 'map.settings.copy', defaultMessage: '复制' })} |
| | | labelCol={{ span: 4 }} |
| | |
| | | }} |
| | | /> |
| | | </Form.Item> |
| | | <Form.Item> |
| | | <Button |
| | | onClick={() => { |
| | | if (lastCopiedSprites) { |
| | | lastCopiedSprites.forEach(copiedSprite => { |
| | | Utils.getMapContainer().removeChild(copiedSprite); |
| | | }) |
| | | setLastCopiedSprites([]); |
| | | } |
| | | }} |
| | | > |
| | | <FormattedMessage id='common.undo' defaultMessage='撤销上次复制' /> |
| | | </Button> |
| | | </Form.Item> |
| | | |
| | | </Space.Compact> |
| | | </Form.Item> |
| | | </Col> |
| | | </Row> |
| | | <Row gutter={0}> |
| | | <Col offset={16} span={8}> |
| | | <Form.Item> |
| | | <Button |
| | | type="dashed" |
| | | onClick={() => { |
| | | if (lastCopiedSprites) { |
| | | lastCopiedSprites.forEach(copiedSprite => { |
| | | Utils.getMapContainer().removeChild(copiedSprite); |
| | | }) |
| | | setLastCopiedSprites([]); |
| | | } |
| | | }} |
| | | > |
| | | <FormattedMessage id='map.settings.sub.copy.undo.last.copies' defaultMessage='撤回复制' /> |
| | | </Button> |
| | | </Form.Item> |
| | | </Col> |
| | | </Row> |
| | | </Col> |
| | | |
| | | |
| | | {/* <Col span={12}> |
| | | <Form.Item |