mirror of
https://github.com/stan-smith/FossFLOW.git
synced 2025-12-24 15:09:03 -05:00
feat: disables lasso mode for now
This commit is contained in:
@@ -22,20 +22,18 @@ export const Cursor: InteractionReducer = {
|
||||
showCursor: true,
|
||||
items: draftState.mode.mousedown.items
|
||||
};
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
draftState.mode = {
|
||||
type: 'LASSO',
|
||||
showCursor: false,
|
||||
selection: {
|
||||
startTile: draftState.mode.mousedown.tile,
|
||||
endTile: draftState.mouse.position.tile,
|
||||
items: []
|
||||
},
|
||||
isDragging: false
|
||||
};
|
||||
// draftState.mode = {
|
||||
// type: 'LASSO',
|
||||
// showCursor: false,
|
||||
// selection: {
|
||||
// startTile: draftState.mode.mousedown.tile,
|
||||
// endTile: draftState.mouse.position.tile,
|
||||
// items: []
|
||||
// },
|
||||
// isDragging: false
|
||||
// };
|
||||
}
|
||||
},
|
||||
mousedown: (draftState) => {
|
||||
|
||||
Reference in New Issue
Block a user