mirror of
https://github.com/wanderer-industries/wanderer
synced 2025-12-13 11:15:51 +00:00
fix(Map): Fix follow mode
This commit is contained in:
@@ -61,7 +61,7 @@ export const useMapHandlers = (ref: ForwardedRef<MapHandlers>, onSelectionChange
|
|||||||
setTimeout(() => mapAddSystems(data as CommandAddSystems), 100);
|
setTimeout(() => mapAddSystems(data as CommandAddSystems), 100);
|
||||||
break;
|
break;
|
||||||
case Commands.updateSystems:
|
case Commands.updateSystems:
|
||||||
setTimeout(() => mapUpdateSystems(data as CommandUpdateSystems), 100);
|
mapUpdateSystems(data as CommandUpdateSystems);
|
||||||
break;
|
break;
|
||||||
case Commands.removeSystems:
|
case Commands.removeSystems:
|
||||||
setTimeout(() => removeSystems(data as CommandRemoveSystems), 100);
|
setTimeout(() => removeSystems(data as CommandRemoveSystems), 100);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { useCallback, useRef } from 'react';
|
import { useCallback, useEffect, useRef } from 'react';
|
||||||
import { Dialog } from 'primereact/dialog';
|
import { Dialog } from 'primereact/dialog';
|
||||||
|
|
||||||
import { OutCommand } from '@/hooks/Mapper/types/mapHandlers.ts';
|
import { OutCommand } from '@/hooks/Mapper/types/mapHandlers.ts';
|
||||||
@@ -58,7 +58,7 @@ export const SystemLinkSignatureDialog = ({ data, setVisible }: SystemLinkSignat
|
|||||||
<Dialog
|
<Dialog
|
||||||
header="Select signature to link"
|
header="Select signature to link"
|
||||||
visible
|
visible
|
||||||
draggable={false}
|
draggable={true}
|
||||||
style={{ width: '500px' }}
|
style={{ width: '500px' }}
|
||||||
onHide={handleHide}
|
onHide={handleHide}
|
||||||
contentClassName="!p-0"
|
contentClassName="!p-0"
|
||||||
|
|||||||
Reference in New Issue
Block a user