mirror of
https://github.com/stan-smith/FossFLOW.git
synced 2025-12-26 16:09:10 -05:00
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:
@@ -100,9 +100,9 @@ export const Connector: ModeActions = {
|
||||
}
|
||||
|
||||
uiState.actions.setMode({
|
||||
type: 'CURSOR',
|
||||
type: 'CONNECTOR',
|
||||
showCursor: true,
|
||||
mousedownItem: null
|
||||
id: null
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user