mirror of
https://github.com/wanderer-industries/wanderer
synced 2025-12-11 18:26:04 +00:00
fix(Map): Fixed problem with ship size change.
This commit is contained in:
@@ -97,14 +97,16 @@ export const useContextMenuConnectionHandlers = () => {
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
outCommand({
|
if (status === ShipSizeStatus.small) {
|
||||||
type: OutCommand.updateConnectionMassStatus,
|
outCommand({
|
||||||
data: {
|
type: OutCommand.updateConnectionMassStatus,
|
||||||
source: edge.source,
|
data: {
|
||||||
target: edge.target,
|
source: edge.source,
|
||||||
value: MassState.normal,
|
target: edge.target,
|
||||||
},
|
value: MassState.normal,
|
||||||
});
|
},
|
||||||
|
});
|
||||||
|
}
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
const onToggleMassSave = useCallback((locked: boolean) => {
|
const onToggleMassSave = useCallback((locked: boolean) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user