mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-05-02 06:26:41 +07:00
added map fitting
This commit is contained in:
parent
0314edd550
commit
bc34cf3876
12 changed files with 93 additions and 78 deletions
|
@ -89,7 +89,7 @@ const mapDispatchToProps = {
|
|||
editorRouterSubmit: EDITOR_ACTIONS.editorRouterSubmit,
|
||||
};
|
||||
|
||||
type Props = ReturnType<typeof mapStateToProps> & typeof mapDispatchToProps & { width?: number };
|
||||
type Props = ReturnType<typeof mapStateToProps> & typeof mapDispatchToProps & { };
|
||||
|
||||
const RouterDialogUnconnected: FC<Props> = ({
|
||||
editor: {
|
||||
|
@ -98,9 +98,8 @@ const RouterDialogUnconnected: FC<Props> = ({
|
|||
},
|
||||
editorRouterCancel,
|
||||
editorRouterSubmit,
|
||||
width,
|
||||
}) => (
|
||||
<div className="control-dialog bottom right" style={{ width }}>
|
||||
<div className="control-dialog bottom right">
|
||||
<div className={classnames('save-loader', { active: is_routing })} />
|
||||
|
||||
{!waypoints.length && noPoints({ editorRouterCancel })}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue