fix: Keep connector tool selected after creating a connection

Previously, the connector tool would switch back to cursor mode after
drawing a connection, requiring users to reselect the tool for each
new connector. This change maintains the connector tool selection,
improving workflow efficiency when creating multiple connections.
This commit is contained in:
Stan
2025-08-14 11:00:00 +01:00
parent 64b6c4c36d
commit 64612a592c

View File

@@ -100,9 +100,9 @@ export const Connector: ModeActions = {
}
uiState.actions.setMode({
type: 'CURSOR',
type: 'CONNECTOR',
showCursor: true,
mousedownItem: null
id: null
});
}
};